This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: --gc-sections and C library linkage issues (?)
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: --gc-sections and C library linkage issues (?)
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 24 Aug 2000 18:22:47 -0700
- Cc: bug-glibc at gnu dot org, alan at linuxcare dot com dot au, binutils at sources dot redhat dot com
- References: <Pine.SOL.3.91.1000824180048.3491C-100000@cse.cygnus.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Benjamin Kosnik <bkoz@redhat.com> writes:
> Alan, I've cc'd you on this because you quickly fixed the previous
> problem. Can you please look at this, too? It looks like the exact same
> deal, ie something like this needs to be added to the linker script:
>
> .__libc_subinit : { KEEP (*(.__libc_subinit)) }
We have several different sections like this. You are fixing a
symptom. IMO --gc-sections should not be used until it can be
properly implemented.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------