diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-03-15 17:44:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-03-15 17:45:04 +0100 |
commit | bb54f5f4e7afee2f2abdc4b9fe9cc45dc91288f3 (patch) | |
tree | c174896c642b79c69ca8865cb915ae58bf13ffbb /test | |
parent | 22a5c2565d945abd47884822a82fe635dfac5ed9 (diff) |
riscv64: fix compiler warning
Diffstat (limited to 'test')
-rw-r--r-- | test/tls/tls-macros-riscv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tls/tls-macros-riscv.h b/test/tls/tls-macros-riscv.h index eddcfc0..b780b4f 100644 --- a/test/tls/tls-macros-riscv.h +++ b/test/tls/tls-macros-riscv.h @@ -17,6 +17,7 @@ #define TLS_GD(x) \ ({ void *__result; \ + extern void *__tls_get_addr (void *); \ asm ("la.tls.gd %0, " #x "\n\t" \ : "=r" (__result)); \ __tls_get_addr (__result); }) |