This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Support 'exclude' in objcopy --set-section-flags
- From: Nick Clifton <nickc at redhat dot com>
- To: Fangrui Song <i at maskray dot me>, binutils <binutils at sourceware dot org>
- Date: Mon, 10 Feb 2020 16:24:34 +0000
- Subject: Re: [PATCH] Support 'exclude' in objcopy --set-section-flags
- References: <20200116085509.pttoo3atw34dbl3m@google.com> <20200203060029.a3mora6uaadropos@google.com>
Hi Fangrui,
>> --set-section-flags .foo= => clear SHF_EXCLUDE
>> --set-section-flags .foo=exclude => set SHF_EXCLUDE
>
> Ping :)
Approved and applied - mostly. You also had an undocumented
change to _bfd_elf_init_private_section_data() which would
remove the SHF_EXCLUDE bit from sections with OS or PROC
specific flags. This breaks several linker tests, and seemed
to be unrelated to the main purpose of the patch, so I discarded
it.
Cheers
Nick