This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Linux gABI: Add a GNU_PROPERTY_BY_LINKER property


On Tue, Nov 27, 2018 at 9:56 AM Cary Coutant <ccoutant@gmail.com> wrote:
>
> > > > 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.

Add PT_GNU_PROPERTY to cover .note.gnu.property section?

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]