H8 targets.
Hans-Peter Nilsson
hp@bitrange.com
Mon Jul 15 07:28:00 GMT 2002
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
More information about the Binutils
mailing list