Difference between objdump and readlelf output
Tiron Adrian
tiron_adrian@yahoo.com
Thu Jan 4 11:41:00 GMT 2007
More information about the Binutils mailing list
Thu Jan 4 11:41:00 GMT 2007
- Previous message (by thread): PATCH: Remove branches in swap_operands in x86 assembler
- Next message (by thread): Difference between objdump and readlelf output
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Take a look at this please: objdump -d -j .got.plt hello hello: file format elf32-i386 Disassembly of section .got.plt: 08049550 <_GLOBAL_OFFSET_TABLE_>: 8049550: 84 94 04 08 00 00 00 00 00 00 00 00 ae 82 04 08 ................ 8049560: be 82 04 08 ce 82 04 08 ........ [root@localhost understanding_elf]# readelf -x21 hello Hex dump of section '.got.plt': 0x08049550 080482ae 00000000 00000000 08049484 ................ 0x08049560 080482ce 080482be ........ Look at the first and last word from the first line of each command's output it looks to me that the word from address 8049550 are interchanged with the address 804955c. Am i correct?An then again on the next line the two words are again interchanged. Besides the endianess wich differs..... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
- Previous message (by thread): PATCH: Remove branches in swap_operands in x86 assembler
- Next message (by thread): Difference between objdump and readlelf output
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list