--gc-sections and C library linkage issues (?)
Ulrich Drepper
drepper@redhat.com
Thu Aug 24 18:23:00 GMT 2000
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 `------------------------
More information about the Binutils
mailing list