public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Support SHF_EXCLUDE
@ 2010-05-14  3:13 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2010-05-14  3:13 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Cary Coutant, Binutils

On Thu, Dec 4, 2008 at 10:31 PM, Ian Lance Taylor <iant@google.com> wrote:
> Cary Coutant <ccoutant@google.com> writes:
>
>> This patch adds a --strip-lto-sections option to gold, which tells it
>> to ignore any PROGBITS section where SHF_ALLOC is not set and whose
>> name begins with ".gnu.lto_".
>>
>> It may be worth making this the default behavior.
>
> I agree that it seems simpler to make this the default behaviour.
> Does anybody see a problem with that?
>
> Really we should modify gas to always recognize 'e' as a section flag
> setting SHF_EXCLUDE, and modify ld and gold to always recognize
> SHF_EXCLUDE.  That flag seems generically useful, and given its use by
> several targets it seems quite unlikely that it will ever get another
> meaning for generic ELF.
>

I opened a bug:

http://sourceware.org/bugzilla/show_bug.cgi?id=11600

Will a generic patch acceptable?

Thanks.

-- 
H.J.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-14  3:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-14  3:13 Support SHF_EXCLUDE H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).