diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | elf/tls-macros.h | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2003-02-02 Jakub Jelinek <jakub@redhat.com> + + * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. + 2003-01-25 Jim Meyering <jim@meyering.net> * io/ftw.c (object_compare): Compare inode numbers before device 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__ |