summaryrefslogtreecommitdiff
path: root/gold/testsuite/relro_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/relro_test.cc')
-rw-r--r--gold/testsuite/relro_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/testsuite/relro_test.cc b/gold/testsuite/relro_test.cc
index bc6c77b91e..d74102245a 100644
--- a/gold/testsuite/relro_test.cc
+++ b/gold/testsuite/relro_test.cc
@@ -40,10 +40,10 @@ int i1 = 1;
static int i2 = 2;
// P1 is a global relro variable.
-int* const p1 = &i1;
+int* const p1 __attribute__ ((aligned(64))) = &i1;
// P2 is a local relro variable.
-int* const p2 = &i2;
+int* const p2 __attribute__ ((aligned(64))) = &i2;
// Test symbol addresses.