Fix failure in nptl/tst-cleanup when building with

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.
This commit is contained in:
Paul Pluzhnikov 2013-11-20 10:05:24 -08:00
parent 10ad46bc65
commit 78271fa91a
2 changed files with 10 additions and 0 deletions

View File

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

View 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))
{