aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-ptrguard1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-ptrguard1.c')
-rw-r--r--elf/tst-ptrguard1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-ptrguard1.c b/elf/tst-ptrguard1.c
index 1e7a8df514..083b83a9fa 100644
--- a/elf/tst-ptrguard1.c
+++ b/elf/tst-ptrguard1.c
@@ -22,6 +22,8 @@
#include <string.h>
#include <sys/wait.h>
#include <stackguard-macros.h>
+#undef attribute_relro
+#define attribute_relro
#include <tls.h>
#include <unistd.h>