This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --gc-sections and --emit-relocs


Hi,

I am interested in exactly the same feature and I ask this question on
the mailing list on October 11th or 12th.

Here is the response I get from Nick Clifton:
http://sourceware.org/ml/binutils/2006-10/msg00082.html
and
http://sourceware.org/ml/binutils/2006-10/msg00084.html

If you find any ways/patchs to make it work, I am highly interested.

Hope this help,
David

2006/12/22, Tristan Gingold <tgingold@free.fr>:
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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]