gcc/libitm/config
Dominik Vogt edcbda7e2c libitm: Introduce target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE.
The attached patch adds the a target specific attribute via the
new target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE to the
function begin_transaction().  S/390 uses this to set the
soft-float target attribute which is needed to fix a crash with
-m31.

As there seems to be no place in libitm to document internal macros like
USE_HTM_FASTPATH or the new macro, I've put the documentation in a
comment where the macro is used.

2016-03-03  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* config/s390/target.h (TARGET_BEGIN_TRANSACTION_ATTRIBUTE): Define
	function attribute to disable floating point in begin_transaction() on
	S/390.
	* beginend.cc (begin_transaction): Use
	TARGET_BEGIN_TRANSACTION_ATTRIBUTE.

From-SVN: r233929
2016-03-03 09:31:57 +00:00
..
aarch64
alpha libitm: Remove dead code and data. 2016-01-12 14:57:45 +00:00
arm re PR target/69343 (Bootstrap failure on s390{,x}-linux) 2016-01-20 10:53:56 -08:00
generic libitm: Remove dead code and data. 2016-01-12 14:57:45 +00:00
linux libitm: Fix HTM fastpath. 2016-01-22 16:13:06 +00:00
posix libitm: Fix HTM fastpath. 2016-01-22 16:13:06 +00:00
powerpc libitm: Remove dead code and data. 2016-01-12 14:57:45 +00:00
s390 libitm: Introduce target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE. 2016-03-03 09:31:57 +00:00
sh
sparc libitm: Remove dead code and data. 2016-01-12 14:57:45 +00:00
x86 libitm: Fix HTM fastpath. 2016-01-22 16:13:06 +00:00