* configure.in: Relax -z relro requirement a bit.
authorUlrich Drepper <drepper@redhat.com>
Sun, 29 Oct 2006 22:41:06 +0000 (22:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 29 Oct 2006 22:41:06 +0000 (22:41 +0000)
ChangeLog
configure
configure.in
nptl/ChangeLog

index 11acd40..f97d54c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-10-29  Ulrich Drepper  <drepper@redhat.com>
 
+       * configure.in: Relax -z relro requirement a bit.
+
        * po/sv.po: Update from translation team.
 
 2006-10-29  Jakub Jelinek  <jakub@redhat.com>
index b04bf8b..c9d321a 100755 (executable)
--- a/configure
+++ b/configure
@@ -5650,12 +5650,17 @@ else
   (exit $ac_status); }; }
     then
       libc_cv_z_relro=yes
+    else
+      case "$base_machine" in
+        i3456786 | x86_64 | powerpc* | s390* | sparc* | alpha*) ;;
+       *) libc_cv_z_relro="not required" ;;
+      esac
     fi
   fi
 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 != yes; 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 fb43804..ca795c4 100644 (file)
@@ -1444,9 +1444,14 @@ EOF
     if AC_TRY_COMMAND([${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&AS_MESSAGE_LOG_FD])
     then
       libc_cv_z_relro=yes
+    else
+      case "$base_machine" in
+        i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*) ;;
+       *) libc_cv_z_relro="not required" ;;
+      esac
     fi
   fi])
-  if test $libc_cv_z_relro != yes; then
+  if test "$libc_cv_z_relro" = no; then
     AC_MSG_ERROR(linker with -z relro support required)
   fi
 
index 2b79825..121d9ed 100644 (file)
@@ -1,3 +1,19 @@
+2006-10-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (RTLD_SINGLE_THREAD_P):
+       Define.
+       (SINGLE_THREAD_P): Define to 1 if IS_IN_rtld.
+       * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
+
 2006-10-27  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/pthread/pthread_barrier_wait.c: Move to...