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]

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.


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