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/x86_64/dl-trampoline.S | |
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/x86_64/dl-trampoline.S')
-rw-r--r-- | sysdeps/x86_64/dl-trampoline.S | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S index 90b2a6ce56..fa71330be2 100644 --- a/sysdeps/x86_64/dl-trampoline.S +++ b/sysdeps/x86_64/dl-trampoline.S @@ -42,15 +42,6 @@ /* Area on stack to save and restore registers used for parameter passing when calling _dl_fixup. */ -#ifdef __ILP32__ -# define PRESERVE_BND_REGS_PREFIX -#else -# ifdef HAVE_MPX_SUPPORT -# define PRESERVE_BND_REGS_PREFIX bnd -# else -# define PRESERVE_BND_REGS_PREFIX .byte 0xf2 -# endif -#endif #define REGISTER_SAVE_RAX 0 #define REGISTER_SAVE_RCX (REGISTER_SAVE_RAX + 8) #define REGISTER_SAVE_RDX (REGISTER_SAVE_RCX + 8) |