This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Ressurect __strtou?q_internal


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]