]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix failure in nptl/tst-cleanup when building with
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Wed, 20 Nov 2013 18:05:24 +0000 (10:05 -0800)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Wed, 20 Nov 2013 18:05:24 +0000 (10:05 -0800)
gcc (GCC) 4.9.0 20131114 (experimental)

2013-11-20  Paul Pluzhnikov  <ppluzhnikov@google.com>

* nptl/tst-cleanup2.c (do_test): Handle SIGILL as well.

ChangeLog
nptl/tst-cleanup2.c

index 1f673d32264c93abe13c717ab17b4bad735cb165..a6a2851500e18b32d8e336e02e5360505ae6cf2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * nptl/tst-cleanup2.c (do_test): Handle SIGILL as well.
+
 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
 
        * malloc/hooks.c (memalign_check): Add alignment rounding.
index 65af0f2018bf02f42eec0626deec93d5f6a4d24a..519ec79c790a8b9176e3c47c8eab966628585c46 100644 (file)
@@ -52,6 +52,12 @@ do_test (void)
       exit (1);
     }
 
+  if (sigaction (SIGILL, &sa, 0))
+    {
+      perror ("installing SIGILL handler\n");
+      exit (1);
+    }
+
   puts ("Attempting to sprintf to null ptr");
   if (setjmp (jmpbuf))
     {