PING: Re: [PATCH 3/3] ld: Extend options for altering orphan handling behaviour.

Nick Clifton nickc@redhat.com
Thu Sep 3 14:30:00 GMT 2015


Hi Andrew,

> Nick, any feedback either way would be great.

Oops - sorry for the delay.

>> Replace the options --warn-orphan and --no-warn-orphan with a single
>> option --orphan-handling=MODE, where mode can be place, warn, error, and
>> discard.
>>
>> Mode 'place' is the default, and is the current behaviour, placing the
>> orphan section into a suitable output section.
>>
>> Mode 'warn' is the same as '--warn-orphan'.  The orphan is also placed
>> using the same algorithm as for 'place'.
>>
>> Mode 'error' is the same as '--warn-orphan' and '--fatal-warnings'.
>>
>> Mode 'discard' assigns all output sections to the /DISCARD/ section.

The patch is approved - please apply - but ...  please could you also 
add an entry in the ld/NEWS file mentioning the new/updated feature ?

Cheers
   Nick



More information about the Binutils mailing list