This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: H8 targets.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Nick Clifton <nickc at cambridge dot redhat dot com>
- Cc: "Nitin Gupta, Noida" <niting at noida dot hcltech dot com>, <binutils at sources dot redhat dot com>
- Date: Mon, 15 Jul 2002 10:09:31 -0400 (EDT)
- Subject: Re: H8 targets.
On 15 Jul 2002, Nick Clifton wrote:
> > The elf.h contains the follwoing different e_machine value for
> > different H8 architectures:
>
> You mean include/elf/common.h, but anyway...
>
> > Then why is it that H8300-elf uses e_machine = EM_H8_300
> > for all <default> , -ms , -mh targets? To differentiate between
> > targets, it uses Processor specific flags (e_flags) instead.
> > Due to these the utilities like "file" does not identify the
> > architecture correctly. Though h8300-elf-readelf does it.
>
> Is this a serious problem ?
Am I totally off here, or wouldn't adding
#define ELF_MACHINE_ALT1 EM_H8_300H
#define ELF_MACHINE_ALT2 EM_H8S
to elf32-h8300.c help recognizing those files presumably created
by other toolchains?
brgds, H-P