A patch for libm

H . J . Lu hjl@valinux.com
Thu Dec 7 10:18:00 GMT 2000


On Thu, Dec 07, 2000 at 10:10:25AM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
> 
> > Both libc and libm define the same functions. I don't think they are
> > necessary in libm. I did some tests. It seems safe to remove them
> > from libm. Here is a patch.
> 
> You cannot remove any interface.  The dependencies are recorded in
> binaries and ld.so will complain if they cannot be fulfilled.
> 

You are right. It seems there is a difference bewteen calling a
function and getting the address of a function.

BTW, is there a way to tell ld.so that a fucntion can be found in
another DSO?


-- 
H.J. Lu (hjl@valinux.com)


More information about the Libc-alpha mailing list