diff options
author | Fangrui Song <maskray@google.com> | 2021-10-10 22:32:12 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2021-10-10 22:32:12 -0700 |
commit | e3d3fb2f6a622a8ca29079ebbc3a3794830a24f7 (patch) | |
tree | a4d1f28d109f210bf787df1393e443a42ebdc12c /sysdeps/x86_64/configure.ac | |
parent | 5d26d12f4ab59c67399c4d5ddcad91704fb737f9 (diff) | |
download | glibc-maskray/x86-mpx.tar.gz |
elf: Remove Intel MPX support (lazy PLT, ld.so profile, and LD_AUDIT)maskray/x86-mpx
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.
Diffstat (limited to 'sysdeps/x86_64/configure.ac')
-rw-r--r-- | sysdeps/x86_64/configure.ac | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sysdeps/x86_64/configure.ac b/sysdeps/x86_64/configure.ac index 29e14033c0..c4c748c1d0 100644 --- a/sysdeps/x86_64/configure.ac +++ b/sysdeps/x86_64/configure.ac @@ -10,21 +10,6 @@ LIBC_TRY_CC_OPTION([-mprefer-vector-width=128], LIBC_CONFIG_VAR([config-cflags-mprefer-vector-width], [$libc_cv_cc_mprefer_vector_width]) -dnl Check whether asm supports Intel MPX -AC_CACHE_CHECK(for Intel MPX support, libc_cv_asm_mpx, [dnl -cat > conftest.s <<\EOF - bndmov %bnd0,(%rsp) -EOF -if AC_TRY_COMMAND(${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then - libc_cv_asm_mpx=yes -else - libc_cv_asm_mpx=no -fi -rm -f conftest*]) -if test $libc_cv_asm_mpx = yes; then - AC_DEFINE(HAVE_MPX_SUPPORT) -fi - if test x"$build_mathvec" = xnotset; then build_mathvec=yes fi |