Why is a __strtol_internal defined in dlfcn/eval.c?

H . J . Lu hjl@lucon.org
Fri Sep 7 09:44:00 GMT 2001


On Fri, Sep 07, 2001 at 09:37:14AM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
> 
> > Well, I got
> > 
> > #  objdump --dynamic-sym /lib/libdl.so.2 | grep __strtol_internal
> > 00000000  w   DF *UND*  000006ab  GLIBC_2.0   __strtol_internal
> 
> And this means the code is wrong?  No, the linker seems to have
> problems.

The linker honors the strong definition from a DSO, but preserves the
weak binding. Can someone check what Solaris does?


H.J.



More information about the Libc-alpha mailing list