From ae4ad00acb5638a32f5c04a85afb12bf2d6bc56c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Jan 2006 23:07:16 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h. (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid the need of .register directive for it. * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset 2047 instead of 0 in the test on sparc64. --- ChangeLog | 8 ++++++++ nptl/ChangeLog | 5 +++++ nptl/descr.h | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ae0076e73b..ad42854f3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-01-06 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h. + (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid + the need of .register directive for it. + * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset + 2047 instead of 0 in the test on sparc64. + 2006-01-06 Ulrich Drepper * scripts/check-c++-types.sh: Add more pthread types. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 4f68aec2a2..f985cd79c5 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2006-01-06 Ulrich Drepper + + * descr.h [!__PTHREAD_MUTEX_HAVE_PREV] (DEQUEUE_MUTEX): Use + correct type. + 2006-01-06 Jakub Jelinek * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h (PSEUDO): diff --git a/nptl/descr.h b/nptl/descr.h index 2a607d3d21..6dcc574c24 100644 --- a/nptl/descr.h +++ b/nptl/descr.h @@ -165,7 +165,7 @@ struct pthread } while (0) # define DEQUEUE_MUTEX(mutex) \ do { \ - struct pthread_mutex_s *runp = THREAD_GETMEM (THREAD_SELF, robust_list); \ + struct __pthread_mutex_s *runp = THREAD_GETMEM (THREAD_SELF, robust_list);\ if (runp == &mutex->__data) \ THREAD_SETMEM (THREAD_SELF, robust_list, runp->__next); \ else \