[PATCH 2/N, MPX, x86_64] Intel MPX support in glibc for x86_64

Zamyatin, Igor igor.zamyatin@intel.com
Tue Mar 18 14:22:00 GMT 2014


Hi All!

Attached patch continues (see the beginning here - http://sourceware.org/ml/libc-alpha/2014-03/msg00491.html) adding support for Intel MPX in Glibc for x86_64. Current change performs storing and restoring of bound registers before and after _dl_profile_fixup call.

Is it ok to install?

2014-03-18  Igor Zamyatin  <igor.zamyatin@intel.com>

	* 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): Add preserving
	of the Intel MPX bound registers before call of _dl_profile_fixup.
	* sysdeps/x86_64/dl-trampoline.h: Add restoring of the Intel MPX bound
	registers after call of _dl_profile_fixup.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpx_glibc_bnds_store_restore_2.patch
Type: application/octet-stream
Size: 5332 bytes
Desc: mpx_glibc_bnds_store_restore_2.patch
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140318/9aa690e6/attachment.obj>


More information about the Libc-alpha mailing list