[PATCH v2 9/9] ld: Add glibc dependency for DT_RELR

Florian Weimer fweimer@redhat.com
Mon Jan 10 15:42:52 GMT 2022


* H. J. Lu:

> On Mon, Jan 10, 2022 at 7:31 AM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * H. J. Lu via Binutils:
>>
>> > +  const char *relr = "GLIBC_ABI_DT_RELR";
>>
>> This needs to be in the implementation namespace, otherwise the user can
>> provide their own symbol, effectively breaking the lockout.
>>
>
> Isn't "GLIBC_XXX" in the implementation namespace? If not,
> can you recommend a name?

Hmm.  I thought it was a symbol dependency, but it's actually a symbol
*version* dependency.  As a symbol version dependency, it should be
okay.

Thanks,
Florian



More information about the Binutils mailing list