This is the mail archive of the binutils@sourceware.org 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]

Endian bug disassembling SH4 code from binary ??


Binutils version: 2.16.1

$ echo -ne ".text\nnop\nnop\n" > test.S
$ sh4-linux-uclibc-as -isa=sh4 test.S -o test.o
$ sh4-linux-uclibc-objcopy -O binary test.o test.bin
$ sh4-linux-uclibc-objdump -D -m sh4 -b binary test.bin

00000000 <.data>:
   0:   09 00     .word 0x0900   <-- Should be 'nop' !?!
   2:   09 00     .word 0x0900   <-- Should be 'nop' !?!


Is this a bug, or am I missing a critical objdump option ??

Andre
--


-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


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