This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Error in output of readelf
- From: ross dot alexander at uk dot neceur dot com
- To: binutils at sources dot redhat dot com
- Date: Thu, 15 Aug 2002 12:37:32 +0100
- Subject: Error in output of readelf
readelf does put \n on the end of unknown dynamic entries. Is this a
feature or a bug?
Also, should OS specific DT entries be put into readelf?
Cheers,
Ross
Dynamic segment at offset 0x170 contains 20 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libdl.1]
0x0000000000000001 (NEEDED) Shared library: [libc.2]
0x0000000000000004 (HASH) 0x40000000000012f0
0x0000000000000005 (STRTAB) 0x4000000000001958
0x0000000000000006 (SYMTAB) 0x4000000000001460
0x000000000000000a (STRSZ) 539 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000060000001 (<unknown>: 60000001) 0 0x0000000000000003 (PLTGOT)
0x8000000000001238
0x0000000000000015 (DEBUG) 0x0
0x0000000060000002 (<unknown>: 60000002) 0x0 0x0000000060000000
(<unknown>: 60000000) 0x8000000000001000 0x000000000000000
2 (PLTRELSZ) 288 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x4000000000001cc8
0x0000000000000007 (RELA) 0x4000000000001b78
0x0000000000000008 (RELASZ) 624 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffff9 (RELACOUNT) 14
0x0000000000000000 (NULL) 0x0
---------------------------------------------------------------------------------
Ross Alexander "He knows no more about his
MIS - NEC Europe Limited destiny than a tea leaf knows
Work ph: +44 20 8752 3394 the history of East India Company"