diff options
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64')
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h | 6 | ||||
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h index 7d4f9b5ea8..dff728a81a 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h +++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2002. @@ -29,7 +29,7 @@ # define PSEUDO(name, syscall_name, args) \ .text; \ ENTRY(name) \ - ld [%g6 + MULTIPLE_THREADS_OFFSET], %g1; \ + ld [%g7 + MULTIPLE_THREADS_OFFSET], %g1; \ brz,pn %g1, 1f; \ mov SYS_ify(syscall_name), %g1; \ ta 0x6d; \ @@ -85,7 +85,7 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler2) \ __builtin_expect (THREAD_GETMEM (THREAD_SELF, \ p_header.data.multiple_threads) == 0, 1) # else -# define SINGLE_THREAD_P ld [%g6 + MULTIPLE_THREADS_OFFSET], %g1 +# define SINGLE_THREAD_P ld [%g7 + MULTIPLE_THREADS_OFFSET], %g1 # endif #elif !defined __ASSEMBLER__ diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S index bcfcedfc2d..98ad45795a 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S +++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S @@ -21,7 +21,7 @@ .text ENTRY(__vfork) - ld [%g6 + MULTIPLE_THREADS_OFFSET], %o0 + ld [%g7 + MULTIPLE_THREADS_OFFSET], %o0 #ifdef SHARED cmp %o0, 0 bne HIDDEN_JUMPTARGET (__fork) |