diff mbox series

[uclibc-ng-devel,3/4] powerpc: update tls macros inline asm clobbers

Message ID 20200405113540.25084-4-yann@sionneau.net
State New
Headers show
Series uclibc-ng-test: make TLS tests run again! | expand

Commit Message

Yann Sionneau April 5, 2020, 11:35 a.m. UTC
This was causing a compile error for powerpc64 toolchain
because r3 was both listed as clobbered and as output
in inline asm.

Signed-off-by: Yann Sionneau <yann@sionneau.net>
---
 test/tls/tls-macros-powerpc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/test/tls/tls-macros-powerpc.h b/test/tls/tls-macros-powerpc.h
index ef293bb..8a368fa 100644
--- a/test/tls/tls-macros-powerpc.h
+++ b/test/tls/tls-macros-powerpc.h
@@ -1,5 +1,5 @@ 
 #define __TLS_CALL_CLOBBERS						\
-	"0", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12",	\
+	"0", "4", "5", "6", "7", "8", "9", "10", "11", "12",	\
 	"lr", "ctr", "cr0", "cr1", "cr5", "cr6", "cr7"
 
 /* PowerPC32 Local Exec TLS access.  */