This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
--gc-sections and --emit-relocs
- From: Tristan Gingold <tgingold at free dot fr>
- To: binutils at sourceware dot org
- Date: Fri, 22 Dec 2006 06:56:29 +0100
- Subject: --gc-sections and --emit-relocs
Hi,
It seems --gc-sections is disabled when --emit-relocs is set. Although this is
not specified in the documentation, a warning is emitted and the sources
are clear about this point.
Is there any foundamental reasons for this ?
Does supporting --gc-sections when --emit-relocs require a lot of work ?
I'd like to be able to reduce the size of static relocatable modules (not .so!)
Thanks,
Tristan.