* 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.
This commit is contained in:
Ulrich Drepper 2006-01-06 23:07:16 +00:00
parent ced368f7dc
commit ae4ad00acb
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2006-01-06 Jakub Jelinek <jakub@redhat.com>
* 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 <drepper@redhat.com> 2006-01-06 Ulrich Drepper <drepper@redhat.com>
* scripts/check-c++-types.sh: Add more pthread types. * scripts/check-c++-types.sh: Add more pthread types.

View File

@ -1,3 +1,8 @@
2006-01-06 Ulrich Drepper <drepper@redhat.com>
* descr.h [!__PTHREAD_MUTEX_HAVE_PREV] (DEQUEUE_MUTEX): Use
correct type.
2006-01-06 Jakub Jelinek <jakub@redhat.com> 2006-01-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h (PSEUDO): * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h (PSEUDO):

View File

@ -165,7 +165,7 @@ struct pthread
} while (0) } while (0)
# define DEQUEUE_MUTEX(mutex) \ # define DEQUEUE_MUTEX(mutex) \
do { \ 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) \ if (runp == &mutex->__data) \
THREAD_SETMEM (THREAD_SELF, robust_list, runp->__next); \ THREAD_SETMEM (THREAD_SELF, robust_list, runp->__next); \
else \ else \