[PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED
H.J. Lu
hjl.tools@gmail.com
Thu Oct 28 19:08:41 GMT 2021
On Thu, Oct 28, 2021 at 10:43 AM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Wed, 27 Oct 2021, H.J. Lu via Libc-alpha wrote:
>
> > Linker adds glibc versions in GNU_PROPERTY_1_GLIBC_2_NEEDED to the
> > .gnu.version_r section and removes GNU_PROPERTY_1_GLIBC_2_NEEDED note
> > when generating shared libraries and executables.
>
> Note that there is no guarantee that a new glibc version actually has any
> symbols in libc at the corresponding symbol version (there are no
> GLIBC_2.20 symbols in any ABI test baseline for any architecture, for
> example). If it happens not to, will the symbol version exist at all to
> satisfy this check?
>
Then we need to add a new glibc version if it happens.
--
H.J.
More information about the Binutils
mailing list