[wiget@pld.org.pl] libc/3237: symbol __udivdi3, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

Ulrich Drepper drepper@redhat.com
Fri Apr 12 11:44:00 GMT 2002


On Fri, 2002-04-12 at 11:28, Franz Sirl wrote:

> [fsirl@entropy:~/rh70/glibc/RPMS/ppc]$ readelf -a ./lib/libc-2.2.5.so |egrep 
> '(moddi3|divdi3)'
>   3444: 001123a0  1176 FUNC    LOCAL  DEFAULT   10 __divdi3
>   3769: 00113094   912 FUNC    LOCAL  DEFAULT   10 __umoddi3
>   3775: 00112c9c  1016 FUNC    LOCAL  DEFAULT   10 __udivdi3
>   4414: 00112878  1060 FUNC    LOCAL  DEFAULT   10 __moddi3

Which symbol table is this from?  There really shouldn't be any LOCAL
symbols in the .dynsym section (well, currently there are some SECTION
symbols but they have no name).  In any case, if the linker picked any
of those symbols up it did something wrong.  If the above is from the
dynamic symbol table there are two things wrong:

- the symbols shouldn't have been added

- the linker seems not to look at the binding value


> Or does LOCAL/HIDDEN make the difference here?

LOCAL is local.  HIDDEN cannot make it more local.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020412/f77c9208/attachment.sig>


More information about the Libc-alpha mailing list