This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]