https://sourceware.org/bugzilla/show_bug.cgi?id=25617

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-1 pr25617]$ cat bar.c
void
bar (void)
{
}
[hjl@gnu-cfl-1 pr25617]$ make libbar.so
gcc -B./ -fpic   -c -o bar.o bar.c
./ld -shared -z nosectionheader -o libbar.so bar.o
[hjl@gnu-cfl-1 pr25617]$ readelf -d libbar.so

Dynamic section at offset 0x2f40 contains 7 entries:
  Tag        Type                         Name/Value
 0x0000000000000004 (HASH)               0x238
 0x000000006ffffef5 (GNU_HASH)           0x250
 0x0000000000000005 (STRTAB)             0x2a8
 0x0000000000000006 (SYMTAB)             0x278
 0x000000000000000a (STRSZ)              5 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000000 (NULL)               0x0
[hjl@gnu-cfl-1 pr25617]$ 

libbar.so is OK for ld.so.  But there is no sufficient info for ld to tell
how many entries in SYMTAB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to