[PATCH v2] elf: Support DT_RELR relative relocation format [BZ #27924]

H.J. Lu hjl.tools@gmail.com
Mon Oct 18 22:42:46 GMT 2021


On Mon, Oct 18, 2021 at 3:30 PM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Mon, 18 Oct 2021, H.J. Lu via Libc-alpha wrote:
>
> > If a binary requires a new glibc to run, running it with the old glibc will
> > lead to an ld.so diagnostic message.   DT_RELR shouldn't be different.
>
> My point is that in many cases (for example, a binary using a new flag as
> an argument to a function taking a flags argument) it *won't* lead to an
> ld.so diagnostic message, just to the relevant function call misbehaving
> at runtime.

Do you have such a testcase?  It sounds like a glibc bug to me.


-- 
H.J.


More information about the Binutils mailing list