[PATCH v2] PR30592 objcopy: allow --set-section-flags to add or remove SHF_X86_64_LARGE

Alan Modra amodra@gmail.com
Fri Jul 7 08:30:38 GMT 2023


On Fri, Jul 07, 2023 at 09:27:18AM +0200, Jan Beulich via Binutils wrote:
> On 07.07.2023 07:51, Fangrui Song wrote:
> > hope that defining SHF_X86_64_LARGE isn't too bad.
> 
> I'm afraid I have to defer to Nick or Alan here; personally I wouldn't
> approve a change adding such a duplicate definition. To me it suggests
> that use of such constants in bfd/elf.c isn't intended, and hence things
> need arranging differently (which may mean a larger overall change is
> needed, to properly abstract the handling of arch-specific flags).

See https://sourceware.org/pipermail/binutils/2023-July/128311.html

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list