RFC: Linux gABI: Add a GNU_PROPERTY_BY_LINKER property

Cary Coutant ccoutant@gmail.com
Tue Nov 27 17:56:00 GMT 2018


> > > PT_GNU_PROPERTY isn't compatible with existing loaders.  This needs
> > > to be both forward and backward compatible.
> >
> > Which loaders?  The kernel?
>
> Kernel, glibc, gdb, .....

How is that any different from using PT_NOTE? Existing loaders don't
handle that either.

If you're claiming that a new PT_ value in the program header table
will be rejected by existing loaders, that's a bug. It should be
fixed. The whole principle of ELF extensibility relies on that.

-cary



More information about the Libc-alpha mailing list