http://sourceware.org/bugzilla/show_bug.cgi?id=1021
--- Comment #17 from Andrew Stormont <andyjstormont at googlemail dot com> 2011-09-17 23:30:16 UTC --- Some more output that might be useful. Solaris: # readelf -a ./mozilla/nsprpub/dist/lib/libnspr4.so | grep open64 0002d204 00021706 R_386_GLOB_DAT 00000000 open64 535: 00000000 240 FUNC GLOBAL DEFAULT ABS open64@@NSPR_4.8.9 1351: 00000000 240 FUNC GLOBAL DEFAULT ABS open64@@SUNW_1.1 # readelf -a /lib/libc.so | grep open64 21: 00071378 140 FUNC GLOBAL PROTECTED 15 attropen64 70: 000a56f8 57 FUNC GLOBAL PROTECTED 15 fopen64 332: 00071378 140 FUNC WEAK PROTECTED 15 _attropen64 874: 000a5978 290 FUNC GLOBAL PROTECTED 15 freopen64 950: 000bff10 240 FUNC WEAK PROTECTED 15 _open64 1062: 000bff10 240 FUNC GLOBAL PROTECTED 15 open64 364: 000a9588 53 FUNC LOCAL HIDDEN 15 __open64 5937: 00071378 140 FUNC GLOBAL PROTECTED 15 attropen64 5986: 000a56f8 57 FUNC GLOBAL PROTECTED 15 fopen64 6248: 00071378 140 FUNC WEAK PROTECTED 15 _attropen64 6790: 000a5978 290 FUNC GLOBAL PROTECTED 15 freopen64 6866: 000bff10 240 FUNC WEAK PROTECTED 15 _open64 6978: 000bff10 240 FUNC GLOBAL PROTECTED 15 open64 21: attropen64 SELF DIRECT 70: fopen64 SELF DIRECT 332: _attropen64 SELF DIRECT 874: freopen64 SELF DIRECT 950: _open64 SELF DIRECT 1062: open64 SELF DIRECT Linux: # readelf -a /usr/lib/libnspr4.so | grep open64 000000237f28 005400000006 R_X86_64_GLOB_DAT 0000000000000000 open64 + 0 84: 0000000000000000 0 FUNC GLOBAL DEFAULT UND open64@GLIBC_2.2.5 (3) # readelf -a /lib/libc.so.6 | grep open64 292: 00000000000dd490 33 FUNC GLOBAL DEFAULT 12 __open64_2@@GLIBC_2.7 533: 00000000000d8120 94 FUNC WEAK DEFAULT 12 __open64@@GLIBC_2.2.5 858: 00000000000d8120 94 FUNC WEAK DEFAULT 12 open64@@GLIBC_2.2.5 1094: 000000000006cd90 606 FUNC GLOBAL DEFAULT 12 freopen64@@GLIBC_2.2.5 1948: 0000000000068580 10 FUNC WEAK DEFAULT 12 fopen64@@GLIBC_2.2.5 At first glance it looks as if bfd is having problems with the STV_PROTECTED symbols in solaris libc and is mistakenly marking them as local and copying them into the output file. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils