[PATCH, MPX] MPX-specific changes in dl_runtime routines

Zamyatin, Igor igor.zamyatin@intel.com
Thu Jul 2 14:04:00 GMT 2015


Hi!

This patch adds necessary changes for proper work of dl_runtime routines both for 32 and 64 bits in MPX mode.

Is it ok for trunk?


Thanks,
Igor


2015-07-02  Igor Zamyatin  <igor.zamyatin@intel.com>
 
	* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Save
	and restore Intel MPX return bound registers
	* sysdeps/x86_64/dl-trampoline.h: Add PRESERVE_BND_REGS_PREFIX to
	call, jump and ret instructions to not loose bounds.
	* sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
	lrv_bnd1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpx_glibc_dl_runtime_all.patch
Type: application/octet-stream
Size: 5359 bytes
Desc: mpx_glibc_dl_runtime_all.patch
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150702/485fae32/attachment.obj>


More information about the Libc-alpha mailing list