* configure.in: Relax -z relro requirement a bit.

This commit is contained in:
Ulrich Drepper 2006-10-29 22:41:06 +00:00
parent 6e6278064a
commit 536e40e287
4 changed files with 30 additions and 2 deletions

View File

@ -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>

7
configure vendored
View File

@ -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; }; }

View 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

View 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...