summaryrefslogtreecommitdiff
path: root/test/tls/tls-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/tls/tls-macros.h')
-rw-r--r--test/tls/tls-macros.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/test/tls/tls-macros.h b/test/tls/tls-macros.h
index 9053d8d..a94c3d2 100644
--- a/test/tls/tls-macros.h
+++ b/test/tls/tls-macros.h
@@ -16,11 +16,15 @@
/* XXX Until we get compiler support we don't need declarations. */
#define VAR_INT_DECL(x)
+#ifdef __aarch64__
+#include <tls-macros-aarch64.h>
+#endif
+
#ifdef __alpha__
#include <tls-macros-alpha.h>
#endif
-#ifdef __arc__
+#if defined(__arc__) || defined(__ARC64_ARCH32__)
#include <tls-macros-arc.h>
#endif
@@ -32,6 +36,10 @@
#endif
#endif
+#ifdef __csky__
+#include <tls-macros-csky.h>
+#endif
+
#ifdef __i386__
#include <tls-macros-i386.h>
#endif
@@ -56,10 +64,22 @@
#include <tls-macros-mips.h>
#endif
-#ifdef __powerpc__
+#ifdef __nios2__
+#include <tls-macros-nios2.h>
+#endif
+
+#if defined(__powerpc__) && !defined(__powerpc64__)
#include <tls-macros-powerpc.h>
#endif
+#if defined(__powerpc__) && defined(__powerpc64__)
+#include <tls-macros-powerpc64.h>
+#endif
+
+#ifdef __riscv
+#include <tls-macros-riscv.h>
+#endif
+
#ifdef __sh__
#include <tls-macros-sh.h>
#endif
@@ -76,6 +96,10 @@
#include <tls-macros-xtensa.h>
#endif
+#ifdef __or1k__
+#include <tls-macros-or1k.h>
+#endif
+
#if !defined TLS_LE || !defined TLS_IE \
|| !defined TLS_LD || !defined TLS_GD
# error "No support for this architecture so far."