This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New targets to Binutils for H8 series
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: ShrinivasA at kpit dot com
- Cc: gcc at gcc dot gnu dot org, crossgcc at sources dot redhat dot com, gnuh8 at gnuh8 dot org dot uk
- Date: Thu, 09 Jan 2003 08:15:47 -0500 (EST)
- Subject: Re: New targets to Binutils for H8 series
- References: <69595093233BB547BB70CF5E492B63F2B0589F@sohm.kpit.com>
Hi Shrinivas,
> 1. I feel, we should add two new targets in the GCC and Binutils for H8S
> and H8/300H normal mode. e.g. "h8300hn" and "h8300sn".
> Existing ".h8300h" and ".h8300s" will denote advanced mode.
> These targets will be automatically used when -mn switch is
> used while compiling the file.
I think this is a good idea.
> This will need few changes in GCC and major changes in Binutils.
> Also corresponding changes in the GDB/Simulator will have to be made.
I don't know much about binutils, but isn't it relatively
straightforward to add a new magic number depending on command line
options (at least for COFF)?
Kazu Hirata