]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/ia64/pthread_spin_unlock.c (pthread_spin_unlock): Use
authorUlrich Drepper <drepper@redhat.com>
Mon, 30 Oct 2006 00:41:07 +0000 (00:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 30 Oct 2006 00:41:07 +0000 (00:41 +0000)
__sync_lock_release instead of __sync_lock_release_si.

configure
configure.in
nptl/ChangeLog
nptl/sysdeps/ia64/pthread_spin_unlock.c

index c9d321abd1c3801a291e851a166a5680f162640b..d19d5d3e73ec4b968749f50287fc1700d735278f 100755 (executable)
--- a/configure
+++ b/configure
@@ -5652,7 +5652,7 @@ else
       libc_cv_z_relro=yes
     else
       case "$base_machine" in
-        i3456786 | x86_64 | powerpc* | s390* | sparc* | alpha*) ;;
+        i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*) ;;
        *) libc_cv_z_relro="not required" ;;
       esac
     fi
@@ -5660,7 +5660,7 @@ else
 fi
 echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
 echo "${ECHO_T}$libc_cv_z_relro" >&6
-  if test $libc_cv_z_relro = no; then
+  if test "$libc_cv_z_relro" = no; then
     { { echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
 echo "$as_me: error: linker with -z relro support required" >&2;}
    { (exit 1); exit 1; }; }
index ca795c44868942f8b31f8130ff33f9210450eee8..5cb3035a6562a3c3e736a171be3f9e316b700097 100644 (file)
@@ -1445,10 +1445,12 @@ EOF
     then
       libc_cv_z_relro=yes
     else
+changequote(,)dnl
       case "$base_machine" in
         i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*) ;;
        *) libc_cv_z_relro="not required" ;;
       esac
+changequote([,])dnl
     fi
   fi])
   if test "$libc_cv_z_relro" = no; then
index 121d9ed1f26458ffb992c2646bd1d185dd2e1d74..c65b60dbffa04628dd940891a799dce6cd0287fd 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/ia64/pthread_spin_unlock.c (pthread_spin_unlock): Use
+       __sync_lock_release instead of __sync_lock_release_si.
+
 2006-10-29  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (RTLD_SINGLE_THREAD_P):
index 6232764b13c17f66a055f760c0be7cb6fc4a3a34..50d9c5f6a807741d61e1dc7b2e83f6cee3446d84 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
 
@@ -23,6 +23,6 @@
 int
 pthread_spin_unlock (pthread_spinlock_t *lock)
 {
-  __sync_lock_release_si ((int *) lock);
+  __sync_lock_release ((int *) lock);
   return 0;
 }