PATCH: makes --gc-sections compatible with -r/-q

Tristan Gingold
Wed Jan 9 16:44:00 GMT 2008

On Jan 8, 2008, at 4:34 PM, H.J. Lu wrote:

> On Tue, Jan 08, 2008 at 04:15:28PM +0100, Tristan Gingold wrote:
>> This option can be set when doing a partial link (enabled with option
>> @samp{-r}).  In this case the root of symbols kept must be  
>> specified with
>> the option @samp{-e}.
> Did you enforce it in linker?

No, there is always a default entry set by the script (usually  
start).  I think it's simpler to have the
same semantic as normal link.

More information about the Binutils mailing list