This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/N, MPX, x86_64] Intel MPX support in glibc for x86_64


On Wed, Mar 19, 2014 at 2:13 PM, Zamyatin, Igor <igor.zamyatin@intel.com> wrote:
> Hi All!
>
> Attached patch concludes (see the beginning here - http://sourceware.org/ml/libc-alpha/2014-03/msg00491.html, second patch - http://sourceware.org/ml/libc-alpha/2014-03/msg00543.html) adding support for Intel MPX in Glibc for x86_64. Current change adds storing and restoring of bound registers in _dl_x86_64_save_sse and _dl_x86_64_restore_sse.
>
> Is it ok to install?
>
> 2014-03-19  Igor Zamyatin  <igor.zamyatin@intel.com>
>
>         * sysdeps/x86_64/tls.h (tcbhead_t): Add rtld_savespace_bnd field.
>         * sysdeps/x86_64/tcb-offsets.sym: Add RTLD_SAVESPACE_BND.
>         * sysdeps/x86_64/dl-trampoline.S (_dl_x86_64_save_sse): Add preserving
>         of the Intel MPX bound registers.
>         (_dl_x86_64_restore_sse): Add restoring of the Intel MPX bound
>         registers.

Do we really need this since bound registers have been saved
and restored in _dl_runtime_resolve?

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]