summaryrefslogtreecommitdiff
path: root/gold/testsuite/script_test_1a.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/script_test_1a.cc')
-rw-r--r--gold/testsuite/script_test_1a.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/gold/testsuite/script_test_1a.cc b/gold/testsuite/script_test_1a.cc
index 648b42a2dad..56dd2a9aa8e 100644
--- a/gold/testsuite/script_test_1a.cc
+++ b/gold/testsuite/script_test_1a.cc
@@ -24,7 +24,14 @@
#include "script_test_1.h"
-extern char a, b, c, d, e, f, g;
+extern char
+ a __attribute__((__aligned__(1))),
+ b __attribute__((__aligned__(1))),
+ c __attribute__((__aligned__(1))),
+ d __attribute__((__aligned__(1))),
+ e __attribute__((__aligned__(1))),
+ f __attribute__((__aligned__(1))),
+ g __attribute__((__aligned__(1)));
int sym = 3;
int common_sym;