-zcombreloc-less shared libs from ld

Jack Howarth howarth@bromo.msbb.uc.edu
Sun Sep 29 06:49:00 GMT 2002


Alan,

[howarth@entropy hesiod-3.0.2]$ /usr/sbin/prelink ./libhesiod.so.0
/usr/sbin/prelink: ./libhesiod.so.0: DT_JMPREL tag not adjacent to DT_RELA relocations
[howarth@entropy hesiod-3.0.2]$ readelf -d  ./libhesiod.so.0

Dynamic segment at offset 0x2ee0 contains 19 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]
 0x00000004 (HASH)                       0x94
 0x00000005 (STRTAB)                     0x75c
 0x00000006 (SYMTAB)                     0x2cc
 0x0000000a (STRSZ)                      712 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000003 (PLTGOT)                     0x12fc8
 0x00000002 (PLTRELSZ)                   444 (bytes)
 0x00000014 (PLTREL)                     RELA
 0x00000017 (JMPREL)                     0xb38
 0x00000007 (RELA)                       0xb38
 0x00000008 (RELASZ)                     756 (bytes)
 0x00000009 (RELAENT)                    12 (bytes)
 0x6ffffffe (VERNEED)                    0xab8
 0x6fffffff (VERNEEDNUM)                 2
 0x6ffffff0 (VERSYM)                     0xa24
 0x00000000 (NULL)                       0x0

                                                    Jack



More information about the Binutils mailing list