diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-07-15 04:34:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-07-15 04:34:40 +0000 |
commit | da35d15e2b2b51fae6265a0906e87cfd5e4df98f (patch) | |
tree | 0851167c3a7e5042a5ed84dacb8450afb9435044 /nptl | |
parent | 9df2c61c5c50dae905b412b3d132c72381be0289 (diff) | |
download | glibc-da35d15e2b2b51fae6265a0906e87cfd5e4df98f.tar.gz glibc-da35d15e2b2b51fae6265a0906e87cfd5e4df98f.tar.xz glibc-da35d15e2b2b51fae6265a0906e87cfd5e4df98f.zip |
Update.
2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/configure.in: Require CFI directives also for ppc and s390.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rwxr-xr-x | nptl/sysdeps/pthread/configure | 12 | ||||
-rw-r--r-- | 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 <drepper@redhat.com> + + * sysdeps/pthread/configure.in: Require CFI directives also for + ppc and s390. + 2003-07-15 Jakub Jelinek <jakub@redhat.com> * 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 <unwind.h> is available, make sure it is the right one and it |