]> git.ipfire.org Git - thirdparty/glibc.git/commit
libc-abis: Define ABSOLUTE ABI [BZ #19818][BZ #23307]
authorMaciej W. Rozycki <macro@mips.com>
Thu, 5 Jul 2018 17:06:43 +0000 (18:06 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Thu, 5 Jul 2018 17:06:43 +0000 (18:06 +0100)
commit9449a295ad7e30f3a787421cb22aaa475f950549
treedc51ac41c40921f14229dd25cb3d98bb0141d4cf
parentd6da5cb6a8e0e8a9ce92b7d951a254cf325248d7
libc-abis: Define ABSOLUTE ABI [BZ #19818][BZ #23307]

Define a new ABSOLUTE ABI for static linker's use with EI_ABIVERSION
where correct absolute (SHN_ABS) symbol run-time load semantics is
required.  This way it can be ensured at static link time that a program
or DSO will not suffer from previous semantics where absolute symbols
were relocated by the base address, or symbols whose `st_value' is zero
silently ignored leading to a confusing "undefined symbol" error message
at load time, and instead "ELF file ABI version invalid" is printed with
old dynamic loaders, making it clear that there is an ABI version
incompatibility.

[BZ #19818]
[BZ #23307]
* libc-abis (ABSOLUTE): New ABI.
* sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
* NEWS: Mention the new ABI.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
ChangeLog
NEWS
libc-abis
sysdeps/unix/sysv/linux/mips/libc-abis