mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
ea8ba7cd14
This patch saves and restores bound registers in x86-64 PLT for ld.so profile and LD_AUDIT: * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd. (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save Intel MPX bound registers before _dl_profile_fixup. * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound registers after _dl_profile_fixup. Save and restore bound registers bnd0/bnd1 when calling _dl_call_pltexit. * sysdeps/x86_64/link-defines.sym (BND_SIZE): New. (LR_BND_OFFSET): Likewise. (LRV_BND0_OFFSET): Likewise. (LRV_BND1_OFFSET): Likewise. |
||
---|---|---|
.. | ||
byteswap-16.h | ||
byteswap.h | ||
endian.h | ||
huge_vall.h | ||
link.h | ||
linkmap.h | ||
mathdef.h | ||
select.h | ||
setjmp.h | ||
string.h | ||
wordsize.h | ||
xtitypes.h |