[uClibc]TEXTREL in libc.so.0 (libuClibc-0.9.19.so)

Peter S. Mazinger ps.m at gmx.net
Thu May 29 09:32:02 UTC 2003


Hello!

Running readelf -d /lib/libc.so.0, I'll get:

Dynamic segment at offset 0x3ff6c contains 17 entries:
  Tag        Type                         Name/Value
 0x0000000e (SONAME)                     Library soname: [libc.so.0]
 0x0000000c (INIT)                       0x109ec
 0x00000004 (HASH)                       0xd4
 0x00000005 (STRTAB)                     0x7548
 0x00000006 (SYMTAB)                     0x2508
 0x0000000a (STRSZ)                      12805 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000003 (PLTGOT)                     0x41014
 0x00000002 (PLTRELSZ)                   4064 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0xb4c8
 0x00000011 (REL)                        0xa750
 0x00000012 (RELSZ)                      3448 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x00000016 (TEXTREL)                    0x0
 0x6ffffffa (RELCOUNT)                   174
 0x00000000 (NULL)                       0x0

If -fPIC/-fpic is used, how does it come that TEXTREL is here (should it 
not be fully relocatable with pic?). As I understand it, TEXTREL means 
that there are parts that are not relocatable.

Peter

-- 
Peter S. Mazinger <ps.m at gmx.net>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2



More information about the uClibc mailing list