aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/tls-macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/tls-macros.h b/elf/tls-macros.h
index ea9ec56376..a0d09db6f5 100644
--- a/elf/tls-macros.h
+++ b/elf/tls-macros.h
@@ -347,7 +347,7 @@ register void *__gp __asm__("$29");
" nop" \
: "=r" (__o0) : "0" (__o0) \
: "g1", "g2", "g3", "g4", "g5", "g6", "o1", "o2", "o3", "o4", \
- "o5", "o7"); \
+ "o5", "o7", "cc"); \
asm ("sethi %%tldo_hix22(" #x "), %0" : "=r" (__o)); \
asm ("xor %1, %%tldo_lox10(" #x "), %0" : "=r" (__o) : "r" (__o)); \
asm ("add %1, %2, %0, %%tldo_add(" #x ")" : "=r" (__l) \
@@ -364,7 +364,7 @@ register void *__gp __asm__("$29");
" nop" \
: "=r" (__o0) : "0" (__o0) \
: "g1", "g2", "g3", "g4", "g5", "g6", "o1", "o2", "o3", "o4", \
- "o5", "o7"); \
+ "o5", "o7", "cc"); \
__o0; })
#elif defined __s390x__