Commit Graph

14 Commits

Author SHA1 Message Date
Matthias Klose
cc60e898a9 libtool-version: Remove.
2016-01-20  Matthias Klose  <doko@ubuntu.com>

        * libtool-version: Remove.

From-SVN: r232645
2016-01-21 00:17:37 +00:00
Ilya Enkovich
e15f0e537f mpxrt.c (handler): Fix verbosity for error message.
libmpx/

	* mpxrt/mpxrt.c (handler): Fix verbosity for error message.

From-SVN: r232619
2016-01-20 14:51:36 +00:00
Jakub Jelinek
66bc83c2a7 mpx_wrappers.c (__mpx_wrapper_memmove): Avoid -Wdiscarded-qualifiers warning.
* mpxwrap/mpx_wrappers.c (__mpx_wrapper_memmove): Avoid
	-Wdiscarded-qualifiers warning.  Fix up formatting.

From-SVN: r232537
2016-01-18 20:36:02 +01:00
Tsvetkova Alexandra
0bf0df50e5 mpx_wrappers.c (__mpx_wrapper_memmove): Special handling of one pointer copy.
libmpx/

2015-12-29  Tsvetkova Alexandra  <aleksandra.tsvetkova@intel.com>

	* libmpxwrap/mpx_wrappers.c (__mpx_wrapper_memmove): Special
	handling of one pointer copy.

From-SVN: r231991
2015-12-29 12:52:42 +00:00
Tsvetkova Alexandra
653b8b8d89 Makefile.am (libmpx_la_LDFLAGS): Add -version-info option.
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-12-11 14:38:53 +00:00
Ilya Enkovich
269ca76f4b re PR other/66887 (trunk/libmpx/mpxrt/mpxrt.c:158: possible performance problem)
libmpx/

	PR other/66887
	* mpxrt/mpxrt.c (read_mpx_status_sig): Remove useless code.

From-SVN: r228838
2015-10-15 09:26:39 +00:00
Ilya Enkovich
6de59c8aaa linux-common.h (LINK_MPX): New.
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-07-16 08:36:02 +00:00
Michael Haubenwallner
a540dfabf4 libmpx: Bump to automake 1.11.6
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-05-13 11:26:12 +00:00
Steven Noonan
8abf301803 configure.ac: Drop AC_PROG_CXX and friends, since libmpx has no C++ sources.
libmpx/

	* configure.ac: Drop AC_PROG_CXX and friends, since libmpx has no C++
	sources.
	* configure: Regenerate.

From-SVN: r222469
2015-04-27 15:02:46 +00:00
Ilya Enkovich
3ba99d8a03 mpx_wrappers.c (__mpx_wrapper_memmove): Add zero length check.
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-09 10:11:30 +00:00
Ilya Enkovich
512470bb90 re PR driver/65444 (-z bndplt isn't passed to linker for -mmpx when building 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-04-02 08:15:49 +00:00
Ilya Enkovich
90d33d8fc9 re PR other/65384 (Intel MPX does not support x32)
libmpx/

       PR other/65384
       * configure.ac: Fix x32 test.
       * configure: Regenerate.

From-SVN: r221378
2015-03-12 08:58:08 +00:00
Ilya Enkovich
d2d7e672ad linux-common.h (LIBMPX_WRAPPERSSPEC): New.
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-10 09:43:24 +00:00
Ilya Enkovich
5373cd33a8 Makefile.def: Add libmpx.
* 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
2015-03-10 09:37:41 +00:00