summaryrefslogtreecommitdiff
path: root/test/tls
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-23 22:02:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-23 22:02:18 +0200
commit077b37591f53a16705a6ddab10bcee80e067ca2f (patch)
treee9f1f337afd4c70724ad78841a2d8423e9df09b1 /test/tls
parent4a076a061e57c55d94c79d0fd3b201c3a84a30cb (diff)
testsuite: fix xtensa macros
Diffstat (limited to 'test/tls')
-rw-r--r--test/tls/tls-macros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tls/tls-macros.h b/test/tls/tls-macros.h
index 56347b45d..a41aef688 100644
--- a/test/tls/tls-macros.h
+++ b/test/tls/tls-macros.h
@@ -889,7 +889,7 @@ register void *__gp __asm__("$29");
#define TLS_GD(x) \
({ int *__l; \
- asm ("movi a8, " #x "@TLSFUNC\n\t" \
+ __asm__ ("movi a8, " #x "@TLSFUNC\n\t" \
"movi a10, " #x "@TLSARG\n\t" \
"callx8.tls a8, " #x "@TLSCALL\n\t" \
"mov %0, a10\n\t" \
@@ -900,7 +900,7 @@ register void *__gp __asm__("$29");
#define TLS_LD(x) \
({ int *__l; \
- asm ("movi a8, " #x "@TLSFUNC\n\t" \
+ __asm__ ("movi a8, " #x "@TLSFUNC\n\t" \
"movi a10, " #x "@TLSARG\n\t" \
"callx8.tls a8, " #x "@TLSCALL\n\t" \
"movi %0, " #x "@TPOFF\n\t" \
@@ -915,7 +915,7 @@ register void *__gp __asm__("$29");
#define TLS_LE(x) \
({ int *__l; \
int __t; \
- asm ("rur %0, threadptr\n\t" \
+ __asm__ ("rur %0, threadptr\n\t" \
"movi %1, " #x "@TPOFF\n\t" \
"add %0, %0, %1\n\t" \
: "=r" (__l), "=r" (__t) ); \