This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: -zcombreloc-less shared libs from ld
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 29 Sep 2002 09:17:39 -0400 (EDT)
- Subject: Re: -zcombreloc-less shared libs from ld
- References: <200209281519.LAA93058@bromo.msbb.uc.edu>
Alan,
For comparision, this is a copy of the same libhesiod.so.0
built with gcc instead of ld for linking the shared lib and
is prelinkable...
[howarth@entropy hesiod-3.0.2_link_w_gcc]$ readelf -d ./libhesiod.so.0
Dynamic segment at offset 0x4518 contains 22 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libresolv.so.2]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000e (SONAME) Library soname: [libhesiod.so.0]
0x0000000c (INIT) 0x2010
0x0000000d (FINI) 0x429c
0x00000004 (HASH) 0x94
0x00000005 (STRTAB) 0x11f8
0x00000006 (SYMTAB) 0x5b8
0x0000000a (STRSZ) 2148 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000003 (PLTGOT) 0x14628
0x00000002 (PLTRELSZ) 468 (bytes)
0x00000014 (PLTREL) RELA
0x00000017 (JMPREL) 0x1e3c
0x00000007 (RELA) 0x1c74
0x00000008 (RELASZ) 924 (bytes)
0x00000009 (RELAENT) 12 (bytes)
0x6ffffffe (VERNEED) 0x1be4
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0x1a5c
0x6ffffff9 (RELACOUNT) 33
0x00000000 (NULL) 0x0
Jack