about summary refs log tree commit diff
path: root/sysdeps/x86_64/link-defines.sym
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2021-10-10 22:32:12 -0700
committerFangrui Song <maskray@google.com>2021-10-10 22:32:12 -0700
commite3d3fb2f6a622a8ca29079ebbc3a3794830a24f7 (patch)
treea4d1f28d109f210bf787df1393e443a42ebdc12c /sysdeps/x86_64/link-defines.sym
parent5d26d12f4ab59c67399c4d5ddcad91704fb737f9 (diff)
downloadglibc-maskray/x86-mpx.tar.gz
glibc-maskray/x86-mpx.tar.xz
glibc-maskray/x86-mpx.zip
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/link-defines.sym')
-rw-r--r--sysdeps/x86_64/link-defines.sym7
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/x86_64/link-defines.sym b/sysdeps/x86_64/link-defines.sym
index 963c69b320..7a954435b9 100644
--- a/sysdeps/x86_64/link-defines.sym
+++ b/sysdeps/x86_64/link-defines.sym
@@ -19,9 +19,6 @@ LR_RBP_OFFSET		offsetof (struct La_x86_64_regs, lr_rbp)
 LR_RSP_OFFSET		offsetof (struct La_x86_64_regs, lr_rsp)
 LR_XMM_OFFSET		offsetof (struct La_x86_64_regs, lr_xmm)
 LR_VECTOR_OFFSET	offsetof (struct La_x86_64_regs, lr_vector)
-#ifndef __ILP32__
-LR_BND_OFFSET		offsetof (struct La_x86_64_regs, lr_bnd)
-#endif
 
 LRV_SIZE		sizeof (struct La_x86_64_retval)
 LRV_RAX_OFFSET		offsetof (struct La_x86_64_retval, lrv_rax)
@@ -32,7 +29,3 @@ LRV_ST0_OFFSET		offsetof (struct La_x86_64_retval, lrv_st0)
 LRV_ST1_OFFSET		offsetof (struct La_x86_64_retval, lrv_st1)
 LRV_VECTOR0_OFFSET	offsetof (struct La_x86_64_retval, lrv_vector0)
 LRV_VECTOR1_OFFSET	offsetof (struct La_x86_64_retval, lrv_vector1)
-#ifndef __ILP32__
-LRV_BND0_OFFSET		offsetof (struct La_x86_64_retval, lrv_bnd0)
-LRV_BND1_OFFSET		offsetof (struct La_x86_64_retval, lrv_bnd1)
-#endif