summaryrefslogtreecommitdiffstats
path: root/libitm/config
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-10 17:15:33 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-10 17:15:33 +0000
commite53a96c2136f7cdff4699475fea41afeed9dece3 (patch)
tree6ddb9d0712828bdab643952423e5c1d07f00faa7 /libitm/config
parentb8190fde2cd04078f8448576fb021060526b51d5 (diff)
downloadppe42-gcc-e53a96c2136f7cdff4699475fea41afeed9dece3.tar.gz
ppe42-gcc-e53a96c2136f7cdff4699475fea41afeed9dece3.zip
libitm port to Tru64 UNIX
* config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use .hidden. (.note.GNU-stack): Only use if __linux__. * alloc_cpp.cc [!__osf__] (_ZnaXRKSt9nothrow_t): Dummy function. * testsuite/libitm.c/notx.c: Use dg-options "-pthread". * testsuite/libitm.c/reentrant.c: Likewise. * testsuite/libitm.c/simple-2.c: Likewise. * testsuite/libitm.c/txrelease.c: Likewise. * testsuite/libitm.c++/static_ctor.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181262 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/config')
-rw-r--r--libitm/config/alpha/sjlj.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/libitm/config/alpha/sjlj.S b/libitm/config/alpha/sjlj.S
index d60a82df62b..3aa5f06e332 100644
--- a/libitm/config/alpha/sjlj.S
+++ b/libitm/config/alpha/sjlj.S
@@ -74,7 +74,9 @@ _ITM_beginTransaction:
.align 4
.globl GTM_longjmp
+#ifdef __ELF__
.hidden GTM_longjmp
+#endif
.ent GTM_longjmp
GTM_longjmp:
@@ -105,4 +107,6 @@ GTM_longjmp:
ret
.end GTM_longjmp
+#ifdef __linux__
.section .note.GNU-stack, "", @progbits
+#endif
OpenPOWER on IntegriCloud