From da35d15e2b2b51fae6265a0906e87cfd5e4df98f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 15 Jul 2003 04:34:40 +0000 Subject: Update. 2003-07-14 Ulrich Drepper * sysdeps/pthread/configure.in: Require CFI directives also for ppc and s390. --- nptl/ChangeLog | 5 +++++ nptl/sysdeps/pthread/configure | 12 +++++++----- nptl/sysdeps/pthread/configure.in | 8 +++++--- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 8839bf8c76..7594e5fdf3 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2003-07-14 Ulrich Drepper + + * sysdeps/pthread/configure.in: Require CFI directives also for + ppc and s390. + 2003-07-15 Jakub Jelinek * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h (PSEUDO): diff --git a/nptl/sysdeps/pthread/configure b/nptl/sysdeps/pthread/configure index 9042c06299..00a58843cc 100755 --- a/nptl/sysdeps/pthread/configure +++ b/nptl/sysdeps/pthread/configure @@ -6,12 +6,14 @@ echo "$as_me: error: compiler support for __thread is required" >&2;} { (exit 1); exit 1; }; } fi -if test "x$libc_cv_asm_cfi_directives" != xyes; then - if test "x$base_machine" = xi386 || test "x$base_machine" = "xx86_86"; then - { { echo "$as_me:$LINENO: error: CFI directive support in assembler is required" >&5 +if test "sx$libc_cv_asm_cfi_directives" != xyes; then + case "$base_machine" in + i386 | x86_64 | powerpc | s390) + { { echo "$as_me:$LINENO: error: CFI directive support in assembler is required" >&5 echo "$as_me: error: CFI directive support in assembler is required" >&2;} - { (exit 1); exit 1; }; } - fi + { (exit 1); exit 1; }; } ;; + *) ;; + esac fi diff --git a/nptl/sysdeps/pthread/configure.in b/nptl/sysdeps/pthread/configure.in index 4fa9b5db2c..c998eac705 100644 --- a/nptl/sysdeps/pthread/configure.in +++ b/nptl/sysdeps/pthread/configure.in @@ -7,9 +7,11 @@ fi if test "x$libc_cv_asm_cfi_directives" != xyes; then dnl We need this only for some architectures. - if test "x$base_machine" = xi386 || test "x$base_machine" = "xx86_86"; then - AC_MSG_ERROR(CFI directive support in assembler is required) - fi + case "$base_machine" in + i386 | x86_64 | powerpc | s390) + AC_MSG_ERROR(CFI directive support in assembler is required) ;; + *) ;; + esac fi dnl Iff is available, make sure it is the right one and it -- cgit 1.4.1