Makefile.am (libmpx_la_LDFLAGS): Add -version-info option.
authorTsvetkova Alexandra <aleksandra.tsvetkova@intel.com>
Fri, 11 Dec 2015 14:38:53 +0000 (14:38 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 11 Dec 2015 14:38:53 +0000 (14:38 +0000)
commit653b8b8d89fa0243b7e769a22f172b3264da58f4
tree62169eeb0eed7ce16ceda7ca3df1cf922428c590
parenta9000e1e2f60df8bd20bbbb58a64bb2addf7e648
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
15 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/memmove-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/mpx/memmove-2.c [new file with mode: 0644]
libmpx/ChangeLog
libmpx/Makefile.in
libmpx/mpxrt/Makefile.am
libmpx/mpxrt/Makefile.in
libmpx/mpxrt/libmpx.map
libmpx/mpxrt/libtool-version
libmpx/mpxrt/mpxrt.c
libmpx/mpxrt/mpxrt.h [new file with mode: 0644]
libmpx/mpxwrap/Makefile.am
libmpx/mpxwrap/Makefile.in
libmpx/mpxwrap/libtool-version
libmpx/mpxwrap/mpx_wrappers.c