aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-05 06:25:25 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-05 06:25:25 +0000
commit86a0c4fafbeb21f52b707f2f4b141d01594aeafb (patch)
treeaf56607c48ef2f72c83b10d98587a6e3aebd233d /nptl
parenta1ed6b4cabb0109106490f501ba64c2f45fa84e5 (diff)
downloadglibc-86a0c4fafbeb21f52b707f2f4b141d01594aeafb.tar
glibc-86a0c4fafbeb21f52b707f2f4b141d01594aeafb.tar.gz
glibc-86a0c4fafbeb21f52b707f2f4b141d01594aeafb.tar.bz2
glibc-86a0c4fafbeb21f52b707f2f4b141d01594aeafb.zip
Update.
2003-07-04 Ulrich Drepper <drepper@redhat.com> * init.c (sigcancel_handler): Change parameters to match handler for SA_SIGACTION. Check signal number and code to recognize invalid invocations.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog6
-rwxr-xr-xnptl/sysdeps/pthread/configure22
2 files changed, 23 insertions, 5 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index cd079972b7..cbc6df2cc0 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-04 Ulrich Drepper <drepper@redhat.com>
+
+ * init.c (sigcancel_handler): Change parameters to match handler
+ for SA_SIGACTION. Check signal number and code to recognize
+ invalid invocations.
+
2003-07-03 Roland McGrath <roland@redhat.com>
* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr):
diff --git a/nptl/sysdeps/pthread/configure b/nptl/sysdeps/pthread/configure
index 39182cbb6c..9042c06299 100755
--- a/nptl/sysdeps/pthread/configure
+++ b/nptl/sysdeps/pthread/configure
@@ -7,9 +7,11 @@ echo "$as_me: error: compiler support for __thread is required" >&2;}
fi
if test "x$libc_cv_asm_cfi_directives" != xyes; then
- { { echo "$as_me:$LINENO: error: CFI directive support in assembler is required" >&5
+ 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
echo "$as_me: error: CFI directive support in assembler is required" >&2;}
{ (exit 1); exit 1; }; }
+ fi
fi
@@ -20,7 +22,11 @@ if test "${libc_cv_forced_unwind+set}" = set; then
else
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
-#include "confdefs.h"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
#include <unwind.h>
int
main ()
@@ -48,7 +54,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
libc_cv_forced_unwind=yes
else
echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
libc_cv_forced_unwind=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
@@ -69,7 +76,11 @@ if test "${libc_cv_c_cleanup+set}" = set; then
else
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
-#include "confdefs.h"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
#include <stdio.h>
void cl (void *a) { }
@@ -99,7 +110,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
libc_cv_c_cleanup=yes
else
echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
libc_cv_c_cleanup=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext