diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-07-11 10:51:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-07-11 10:51:46 +0200 |
commit | 23424547146e9fd407af501c154656f0688862af (patch) | |
tree | 3b0fa18a2ba448f383b62443095057e4cea60ad9 /test/tls | |
parent | 7ad3d87d74dfb9eff68ad1686be400154134a731 (diff) | |
parent | 449109519492266410421310ee09ff4a10d7c175 (diff) |
Merge branch '1.0' of git+ssh://uclibc-ng.org/git/uclibc-ng into 1.0
Diffstat (limited to 'test/tls')
-rw-r--r-- | test/tls/tls-macros.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tls/tls-macros.h b/test/tls/tls-macros.h index a41aef688..7d8927400 100644 --- a/test/tls/tls-macros.h +++ b/test/tls/tls-macros.h @@ -900,9 +900,9 @@ register void *__gp __asm__("$29"); #define TLS_LD(x) \ ({ int *__l; \ - __asm__ ("movi a8, " #x "@TLSFUNC\n\t" \ - "movi a10, " #x "@TLSARG\n\t" \ - "callx8.tls a8, " #x "@TLSCALL\n\t" \ + __asm__ ("movi a8, _TLS_MODULE_BASE_@TLSFUNC\n\t" \ + "movi a10, _TLS_MODULE_BASE_@TLSARG\n\t" \ + "callx8.tls a8, _TLS_MODULE_BASE_@TLSCALL\n\t" \ "movi %0, " #x "@TPOFF\n\t" \ "add %0, %0, a10\n\t" \ : "=r" (__l) \ |