[RFC] SHF_GNU_RETAIN ELF Section Flag
Michael Matz
matz@suse.de
Mon Sep 21 12:42:55 GMT 2020
Hello,
On Fri, 18 Sep 2020, Florian Weimer via Gnu-gabi wrote:
> * Jozef Lawrynowicz:
>
> > Unless we are trying to be protective of the remaining operating
> > system-specific section flag bits, I don't really see any downside to
> > going the route of SHF_GNU_RETAIN. It is very simple, the linker
> > implementation requires only one additional line of code, and the
> > definition precisely describes how the section should be treated.
> >
> > SHF_GNU_RETAIN
> > The link editor should not garbage collect the section if it is
> > unused.
>
> I don't have any objections to this wording.
Me neither.
Ciao,
Michael.
More information about the Gnu-gabi
mailing list