Browse Source

fix riscv macros

Waldemar Brodkorb 5 years ago
parent
commit
228705daef
2 changed files with 1 additions and 3 deletions
  1. 0 2
      test/tls/tls-macros-riscv.h
  2. 1 1
      test/tls/tls-macros.h

+ 0 - 2
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;                              \

+ 1 - 1
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