[PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED

Joseph Myers joseph@codesourcery.com
Thu Oct 28 17:43:52 GMT 2021


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?

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list