This is the mail archive of the
mailing list for the binutils project.
Small? request for ld --gc-sections
- To: binutils at sources dot redhat dot com
- Subject: Small? request for ld --gc-sections
- From: Etienne Lorrain <etienne_lorrain at yahoo dot fr>
- Date: Wed, 15 Aug 2001 17:57:14 +0200 (CEST)
If it is not too difficult, it would be nice to not consider a symbol
in the linker script as referenced - in the sense of gc-section - if it
is just a renaming.
I have at the end of my linker file:
library_sprintf = sprintf ;
And in one configuration, the symbol "library_sprintf" is not used,
"sprintf" is not used neither, but the function "sprintf" is included
in the link (ld --gc-section) because of this linker line.
I tried something like:
PROVIDE (library_sprintf = sprintf) ;
but have the same result.
Do You Yahoo!? -- Vos albums photos en ligne,
Yahoo! Photos : http://fr.photos.yahoo.com