aboutsummaryrefslogtreecommitdiff
path: root/libmpx
AgeCommit message (Collapse)AuthorFilesLines
2015-12-11Makefile.am (libmpx_la_LDFLAGS): Add -version-info option.Tsvetkova Alexandra12-94/+523
libmpx/ 2015-12-11 Tsvetkova Alexandra <aleksandra.tsvetkova@intel.com> * mpxrt/Makefile.am (libmpx_la_LDFLAGS): Add -version-info option. * libmpxwrap/Makefile.am (libmpx_la_LDFLAGS): Likewise and fix include path. * libmpx/Makefile.in: Regenerate. * mpxrt/Makefile.in: Regenerate. * libmpxwrap/Makefile.in: Regenerate. * mpxrt/libtool-version: New version. * libmpxwrap/libtool-version: Likewise. * mpxrt/libmpx.map: Add new version and a new symbol. * mpxrt/mpxrt.h: New file. * mpxrt/mpxrt.c (NUM_L1_BITS): Moved to mpxrt.h. (REG_IP_IDX): Moved to mpxrt.h. (REX_PREFIX): Moved to mpxrt.h. (XSAVE_OFFSET_IN_FPMEM): Moved to mpxrt.h. (MPX_L1_SIZE): Moved to mpxrt.h. * libmpxwrap/mpx_wrappers.c (mpx_pointer): New type. (mpx_bt_entry): New type. (alloc_bt): New function. (get_bt): New function. (copy_if_possible): New function. (copy_if_possible_from_end): New function. (move_bounds): New function. (__mpx_wrapper_memmove): Use move_bounds to copy bounds. gcc/testsuite/ 2015-12-11 Tsvetkova Alexandra <aleksandra.tsvetkova@intel.com> * gcc.target/i386/mpx/memmove-1.c: New test. * gcc.target/i386/mpx/memmove-2.c: New test. From-SVN: r231565
2015-10-15re PR other/66887 (trunk/libmpx/mpxrt/mpxrt.c:158: possible performance problem)Ilya Enkovich2-7/+7
libmpx/ PR other/66887 * mpxrt/mpxrt.c (read_mpx_status_sig): Remove useless code. From-SVN: r228838
2015-07-16linux-common.h (LINK_MPX): New.Ilya Enkovich4-35/+8
gcc/ * config/i386/linux-common.h (LINK_MPX): New. (MPX_SPEC): Use LINK_MPX instead of %(link_mpx). * configure.ac: Add HAVE_LD_BNDPLT_SUPPORT macro indicating '-z bndplt' support by linker. * configure: Regenerate. * config.in: Regenerate. libmpx/ * configure.ac: Remove link_mpx. * libmpx.spec.in: Likewise. * configure: Regenerate. From-SVN: r225862
2015-05-13libmpx: Bump to automake 1.11.6Michael Haubenwallner6-103/+204
2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> * Makefile.in: Regenerated with automake-1.11.6. * aclocal.m4: Likewise. * configure: Likewise. * mpxrt/Makefile.in: Likewise. * mpxwrap/Makefile.in: Likewise. From-SVN: r223145
2015-04-27configure.ac: Drop AC_PROG_CXX and friends, since libmpx has no C++ sources.Steven Noonan3-3713/+12
libmpx/ * configure.ac: Drop AC_PROG_CXX and friends, since libmpx has no C++ sources. * configure: Regenerate. From-SVN: r222469
2015-04-09mpx_wrappers.c (__mpx_wrapper_memmove): Add zero length check.Ilya Enkovich2-0/+8
libmpx/ * mpxwrap/mpx_wrappers.c (__mpx_wrapper_memmove): Add zero length check. gcc/testsuite/ * gcc.target/i386/mpx/memmove-zero-length.c: New. From-SVN: r221944
2015-04-02re PR driver/65444 (-z bndplt isn't passed to linker for -mmpx when building ↵Ilya Enkovich4-3/+44
dynamic objects) gcc/ PR driver/65444 * config/i386/linux-common.h (MPX_SPEC): New. (CHKP_SPEC): Add MPX_SPEC. * doc/invoke.texi (-fcheck-pointer-boudns): Document possible issues with '-z bndplt' support in linker. libmpx/ PR driver/65444 * configure.ac: Add check for '-z bndplt' support by linker. Add link_mpx output variable. * libmpx.spec.in (link_mpx): New. * configure: Regenerate. From-SVN: r221831
2015-03-12re PR other/65384 (Intel MPX does not support x32)Ilya Enkovich3-5/+11
libmpx/ PR other/65384 * configure.ac: Fix x32 test. * configure: Regenerate. From-SVN: r221378
2015-03-10linux-common.h (LIBMPX_WRAPPERSSPEC): New.Ilya Enkovich10-6/+985
gcc/ * config/i386/linux-common.h (LIBMPX_WRAPPERSSPEC): New. (CHKP_SPEC): Add wrappers library. * c-family/c.opt (static-libmpxwrappers): New. libmpx/ * Makefile.am (SUBDIRS): Add mpxwrap when used AS supports MPX. (MAKEOVERRIDES): New. * Makefile.in: Regenerate. * configure.ac: Check AS supports MPX. Add mpxintr/Makefile to config files. * configure: Regenerate. * mpxwrap/Makefile.am: New. * mpxwrap/Makefile.in: New. * mpxwrap/libtool-version: New. * mpxwrap/mpx_wrappers.cc: New. * mpxwrap/libmpxwrappers.map: New. From-SVN: r221313
2015-03-10Makefile.def: Add libmpx.Ilya Enkovich18-0/+20920
* Makefile.def: Add libmpx. * configure.ac: Add libmpx. * Makefile.in: Regenerate. * configure: Regenerate. gcc/ * config/i386/linux-common.h (LIBMPX_LIBS): New. (LIBMPX_SPEC): New. (CHKP_SPEC): New. * gcc.c (CHKP_SPEC): New. (LINK_COMMAND_SPEC): Add CHKP_SPEC. * c-family/c.opt (static-libmpx): New. libmpx/ Initial commit. From-SVN: r221311