Jakub Jelinek 3e42d1
--- valgrind/memcheck/tests/x86-linux/scalar.c	(revision 11801)
Jakub Jelinek 3e42d1
+++ valgrind/memcheck/tests/x86-linux/scalar.c	(revision 11802)
Jakub Jelinek 3e42d1
@@ -1,3 +1,5 @@
Jakub Jelinek 3e42d1
+#define _GNU_SOURCE
Jakub Jelinek 3e42d1
+
Jakub Jelinek 3e42d1
 #include "../../memcheck.h"
Jakub Jelinek 3e42d1
 #include "scalar.h"
Jakub Jelinek 3e42d1
 #include <unistd.h>
Jakub Jelinek 3e42d1
--- valgrind/memcheck/tests/x86-linux/scalar.stderr.exp	(revision 11801)
Jakub Jelinek 3e42d1
+++ valgrind/memcheck/tests/x86-linux/scalar.stderr.exp	(revision 11802)
Jakub Jelinek 3e42d1
@@ -578,25 +578,25 @@
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 Syscall param sigaction(act->sa_mask) points to unaddressable byte(s)
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 4 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 Syscall param sigaction(act->sa_flags) points to unaddressable byte(s)
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 8 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 Syscall param sigaction(oldact) points to unaddressable byte(s)
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 -----------------------------------------------------
Jakub Jelinek 3e42d1
  68:       __NR_sgetmask n/a
Jakub Jelinek 3e42d1
@@ -1228,13 +1228,13 @@
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 Syscall param sigprocmask(oldset) points to unaddressable byte(s)
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 -----------------------------------------------------
Jakub Jelinek 3e42d1
 127:  __NR_create_module ni
Jakub Jelinek 3e42d1
@@ -1747,7 +1747,7 @@
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 4 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 Syscall param rt_sigaction(act->sa_mask) points to unaddressable byte(s)
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
@@ -1757,13 +1757,13 @@
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 8 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 Syscall param rt_sigaction(oldact) points to unaddressable byte(s)
Jakub Jelinek 3e42d1
    ...
Jakub Jelinek 3e42d1
  Address 0x........ is 4 bytes after a block of size 4 alloc'd
Jakub Jelinek 3e42d1
    at 0x........: malloc (vg_replace_malloc.c:...)
Jakub Jelinek 3e42d1
-   by 0x........: main (scalar.c:28)
Jakub Jelinek 3e42d1
+   by 0x........: main (scalar.c:30)
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 -----------------------------------------------------
Jakub Jelinek 3e42d1
 175: __NR_rt_sigprocmask 4s 2m
Jakub Jelinek 3e42d1
--- valgrind/memcheck/tests/linux/stack_switch.c	(revision 11801)
Jakub Jelinek 3e42d1
+++ valgrind/memcheck/tests/linux/stack_switch.c	(revision 11802)
Jakub Jelinek 3e42d1
@@ -1,5 +1,6 @@
Jakub Jelinek 3e42d1
 #define _XOPEN_SOURCE 600
Jakub Jelinek 3e42d1
 #define _BSD_SOURCE
Jakub Jelinek 3e42d1
+#define _GNU_SOURCE
Jakub Jelinek 3e42d1
 
Jakub Jelinek 3e42d1
 #include <stdio.h>
Jakub Jelinek 3e42d1