"Endian and objdump"
Harshad R Joglekar
harshad.joglekar@wipro.com
Fri Jun 15 07:05:00 GMT 2001
On Friday 15 June 2001 03:30, you scribbled:
> 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
IMO, this looks like a number (not a memory dump), and should appear the same
regardless of endianness, ie. MSB is at the left.
But a memory dump would look like
0: 0102 0304
4:
In this case, the "first" octet would be the first listed. i.e. address 0
would contain byte 01. (again regardless of endianness)
More information about the Binutils
mailing list