[RFC] SHF_GNU_RETAIN ELF Section Flag
Florian Weimer
fweimer@redhat.com
Fri Sep 18 18:11:23 GMT 2020
* 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.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Gnu-gabi
mailing list