[RFC] Providing init_fini_syms earlier?
Carlos O'Donell
carlos@systemhalted.org
Mon Jul 11 20:10:00 GMT 2005
On Mon, Jul 11, 2005 at 09:06:23PM +0200, Jakub Jelinek wrote:
> > > Please try the linker patch with the FIXED glibc.
> >
> > Could you provide a reference to your libc patch please?
> >
> > I know you recently posted:
> > 2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
> > [BZ #974]
> > ...
> >
> > Though it doesn't look like that patch would change the definitions of
> > the symbols.
> >
> > I'm a bit confused because it also looks like the definition in 2.3.2
> > were marked hidden.
>
> That's actually a fedora*-branch local change:
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/csu/elf-init.c.diff?r1=1.3&r2=1.3.2.1&cvsroot=glibc
> ld should work correctly with or without that, what really matters
> is if the definitions of the symbols are hidden or not (and they are
> supposed to be hidden).
It does work without them. It just wastes space in the output
executable.
This patch makes much more sense. I'll have a go at rebuilding glibc and
testing.
Thanks.
c.
More information about the Binutils
mailing list