summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-04-27 13:13:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-04-27 13:13:59 +0200
commit228705daef79000f56c99e9a17d4fed952164164 (patch)
treea7b8e88743130ad154e3269376725adbaddb00fd /test
parent2e5ded70c26c831c587f3e7574df11a84864ef22 (diff)
fix riscv macros
Diffstat (limited to 'test')
-rw-r--r--test/tls/tls-macros-riscv.h2
-rw-r--r--test/tls/tls-macros.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/test/tls/tls-macros-riscv.h b/test/tls/tls-macros-riscv.h
index d18f923..abce7ab 100644
--- a/test/tls/tls-macros-riscv.h
+++ b/test/tls/tls-macros-riscv.h
@@ -20,8 +20,6 @@
#include <sys/cdefs.h>
#include <sys/asm.h>
-#include <sysdep.h>
-#include "dl-tls.h"
#define TLS_GD(x) \
({ void *__result; \
diff --git a/test/tls/tls-macros.h b/test/tls/tls-macros.h
index d46f407..0c4a079 100644
--- a/test/tls/tls-macros.h
+++ b/test/tls/tls-macros.h
@@ -68,7 +68,7 @@
#include <tls-macros-powerpc64.h>
#endif
-#ifdef __riscv__
+#ifdef __riscv
#include <tls-macros-riscv.h>
#endif