[Felipe Contreras <al593181@mail.mty.itesm.mx>] bug in useldt.h
Jakub Jelinek
jakub@redhat.com
Wed Dec 12 04:23:00 GMT 2001
On Wed, Dec 12, 2001 at 09:43:47AM +0100, Andreas Jaeger wrote:
> Greg Schafer <gschafer@zip.com.au> writes:
>
> > Andreas Jaeger wrote:
> >> Something like this? Felipe - and others with this problem -, please
> >> regenerate configure (with autoconf 2.13!) and tell me whether it
> >> looks fine in your environment.
> >>
> >> Ok to commit?
> >
> > Hi Andreas
> >
> > I just gave this a quick test.
> >
> > It fixes the first 3 linker tests but breaks the 4th ie: now it doesn't
> > find -z combreloc (even in the normal case when glibc is already installed)
> > and I cannot see why. No clues in config.log either.
>
> With -nostdlib we get no rel.dyn sections and we explicitly search for
> them. Jakub, is the readelf call really needed?
It is, because the default ld behaviour is to ignore unknown -z options.
Wouldn't using
extern int bar (void);
int foo (void) { return bar (); }
instead of current:
int foo (void) { return 0; }
help here?
Jakub
More information about the Libc-alpha
mailing list