diff options
author | Fangrui Song <maskray@google.com> | 2021-10-11 11:14:02 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2021-10-11 11:14:02 -0700 |
commit | bf433b849ae6f0cacf566a458c918bfd492ee732 (patch) | |
tree | b84cb04c0e82799e0105a84a5765a7c095c4e1a2 /sysdeps/i386/configure | |
parent | eb73b87897798de981dbbf019aa957045d768adb (diff) | |
download | glibc-bf433b849ae6f0cacf566a458c918bfd492ee732.tar.gz glibc-bf433b849ae6f0cacf566a458c918bfd492ee732.tar.xz glibc-bf433b849ae6f0cacf566a458c918bfd492ee732.zip |
elf: Remove Intel MPX support (lazy PLT, ld.so profile, and LD_AUDIT)
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. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/i386/configure')
-rw-r--r-- | sysdeps/i386/configure | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index bb482ca16c..ed46d53314 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -83,33 +83,6 @@ $as_echo "$libc_cv_ld_static_pie" >&6; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5 -$as_echo_n "checking for Intel MPX support... " >&6; } -if ${libc_cv_asm_mpx+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat > conftest.s <<\EOF - bndmov %bnd0,(%esp) -EOF -if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 - (eval $ac_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - libc_cv_asm_mpx=yes -else - libc_cv_asm_mpx=no -fi -rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5 -$as_echo "$libc_cv_asm_mpx" >&6; } -if test $libc_cv_asm_mpx = yes; then - $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h - -fi - $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h |