This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
H8 targets.
- From: "Nitin Gupta, Noida" <niting at noida dot hcltech dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 11 Jul 2002 16:56:48 +0530
- Subject: H8 targets.
Hi,
The elf.h contains the follwoing different e_machine value for
different
H8 architectures:
#define EM_H8_300 46 /* Hitachi H8/300 */
#define EM_H8_300H 47 /* Hitachi H8/300H */
#define EM_H8S 48 /* Hitachi H8S */
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.
Thanks and Regards.
Nitin.