[PATCH 3/7] Add GLIBC_ABI_DT_RELR for DT_RELR support
Joseph Myers
joseph@codesourcery.com
Fri Feb 4 19:53:37 GMT 2022
On Thu, 3 Feb 2022, H.J. Lu via Libc-alpha wrote:
> +%if HAVE_DT_RELR
> + GLIBC_ABI_DT_RELR {
> + # This symbol is used only for empty version map and will be removed
> + # by scripts/versions.awk.
> + __placeholder_only_for_empty_version_map;
> + }
My understanding is that HAVE_DT_RELR describes a property of the linker
used to build glibc, not a property of what features glibc itself
supports.
The symbol versions provided by glibc, and whether glibc supports binaries
using RELR relocations, should be independent of whether the linker
version used to build glibc supports such relocations. A given glibc
version should either always support RELR relocations (for a given glibc
ABI) or never support them (for that ABI), independent of linker features,
and likewise the symbol versions provided by glibc should be independent
of linker features.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list