"Endian and objdump"

Xinan Tang xinant@cognigine.com
Thu Jun 14 15:00:00 GMT 2001


Hi

   I have a question about the endianess.

   If an assembler is configured as the little endian mode
for both the host (Linux) and the target, and the binary
code expected should looks like

	0x01020304

   Then using 'objdump', should we expect to see?

   		0: 0x01020304
		4:

    or
		0: 0x04030201
		4:

    I.e., on the display screen, which side is the lower end (left or
right) ?

Thanks

			
-- 
Dr. Xinan Tang                    Member of Technical Staff
EMail: xinant@cognigine.com  	  Cognigine Corp.
Voice: 510.743.4930               6120 Stevenson Boulevard
Fax:   510.743.4910               Fremont, CA  94538



More information about the Binutils mailing list