about summary refs log tree commit diff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2021-10-11 11:14:02 -0700
committerFangrui Song <maskray@google.com>2021-10-11 11:14:02 -0700
commitbf433b849ae6f0cacf566a458c918bfd492ee732 (patch)
treeb84cb04c0e82799e0105a84a5765a7c095c4e1a2 /sysdeps/x86
parenteb73b87897798de981dbbf019aa957045d768adb (diff)
downloadglibc-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/x86')
-rw-r--r--sysdeps/x86/bits/link.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/x86/bits/link.h b/sysdeps/x86/bits/link.h
index 0e1db1a164..d0e1a55446 100644
--- a/sysdeps/x86/bits/link.h
+++ b/sysdeps/x86/bits/link.h
@@ -38,8 +38,8 @@ typedef struct La_i86_retval
   uint32_t lrv_edx;
   long double lrv_st0;
   long double lrv_st1;
-  uint64_t lrv_bnd0;
-  uint64_t lrv_bnd1;
+  uint64_t __glibc_unused1;
+  uint64_t __glibc_unused2;
 } La_i86_retval;
 
 
@@ -96,7 +96,7 @@ typedef struct La_x86_64_regs
   La_x86_64_xmm lr_xmm[8];
   La_x86_64_vector lr_vector[8];
 #ifndef __ILP32__
-  __int128_t lr_bnd[4];
+  __int128_t __glibc_unused1[4];
 #endif
 } La_x86_64_regs;
 
@@ -112,8 +112,8 @@ typedef struct La_x86_64_retval
   La_x86_64_vector lrv_vector0;
   La_x86_64_vector lrv_vector1;
 #ifndef __ILP32__
-  __int128_t lrv_bnd0;
-  __int128_t lrv_bnd1;
+  __int128_t __glibc_unused1;
+  __int128_t __glibc_unused2;
 #endif
 } La_x86_64_retval;