H8 targets.

Nitin Gupta, Noida niting@noida.hcltech.com
Thu Jul 11 10:18:00 GMT 2002


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.



More information about the Binutils mailing list