glibc/sysdeps/x86/bits
Igor Zamyatin ea8ba7cd14 Save/restore bound registers for _dl_runtime_profile
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.
2014-04-16 14:46:49 -07:00
..
byteswap-16.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
byteswap.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
endian.h Use the same bits/endian.h for i386/x86_64 2012-05-30 14:50:32 -07:00
huge_vall.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
link.h Save/restore bound registers for _dl_runtime_profile 2014-04-16 14:46:49 -07:00
linkmap.h Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64 2012-05-30 15:21:55 -07:00
mathdef.h Fix -Wundef warnins for __FP_FAST_FMA* 2014-03-21 17:28:43 +05:30
select.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setjmp.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
string.h Complete _BSD_SOURCE / _SVID_source followup cleanup. 2014-02-21 21:45:26 +00:00
wordsize.h Use x86_64 bits/wordsize.h for both i386/x86_64 2012-05-30 17:25:23 -07:00
xtitypes.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00