[PATCH] Ressurect __strtou?q_internal
H . J . Lu
hjl@valinux.com
Mon Feb 12 17:51:00 GMT 2001
On Mon, Feb 12, 2001 at 04:54:14PM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
>
> > I think we should do the similar thing for __strtoq_internal and
> > __strtouq_internal.
>
> First the ld should be fixed. Try linking against glibc with res_init
> handled this way. ld will still pick the definition up although it is
> not the default version.
>
With my binutils 2.10.1.0.7:
# cat x.c
extern int res_init;
int
main ()
{
return &res_init != 0;
}
# gcc x.c
/tmp/cc05Wbgf.o: In function `main':
/tmp/cc05Wbgf.o(.text+0x4): undefined reference to `res_init'
collect2: ld returned 1 exit status
I believe binutils from CVS is ok.
--
H.J. Lu (hjl@valinux.com)
More information about the Libc-hacker
mailing list