elf: Remove Intel MPX support (lazy PLT, ld.so profile, and LD_AUDIT)

System Internals / glibc - Fangrui Song [google.com] - 11 October 2021 18:14 UTC

Intel MPX failed to gain wide adoption and has been deprecated for a while. GCC 9.1 removed Intel MPX support. Linux kernel removed MPX in 2019.

This patch removes the support code from the dynamic loader.

bf433b849a elf: Remove Intel MPX support (lazy PLT, ld.so profile, and LD_AUDIT)
NEWS | 2 ++
config.h.in | 3 ---
sysdeps/i386/configure | 27 ---------------------
sysdeps/i386/configure.ac | 15 ------------
sysdeps/i386/dl-trampoline.S | 21 ----------------
sysdeps/i386/link-defines.sym | 2 --
sysdeps/x86/bits/link.h | 10 ++++----
sysdeps/x86_64/configure | 27 ---------------------
sysdeps/x86_64/configure.ac | 15 ------------
sysdeps/x86_64/dl-trampoline.S | 9 -------
sysdeps/x86_64/dl-trampoline.h | 54 -----------------------------------------
sysdeps/x86_64/link-defines.sym | 8 ------
12 files changed, 7 insertions(+), 186 deletions(-)

Upstream: sourceware.org


  • Share