Add __attribute__((__aligned__(1))) to unaligned symbols from scripts (for s390).
[binutils-gdb.git] / gold / testsuite / binary_test.cc
index 4ee986897319677947da408b2a5caf0d4f22c24e..6b516fc5f0d7233daef9ba8c1e6897ade7ea664f 100644 (file)
@@ -28,9 +28,9 @@
 #include <cstring>
 #include <stdint.h>
 
-extern char _binary_binary_txt_start[];
-extern char _binary_binary_txt_end[];
-extern char _binary_binary_txt_size[];
+extern char _binary_binary_txt_start[] __attribute__((__aligned__(1)));
+extern char _binary_binary_txt_end[] __attribute__((__aligned__(1)));
+extern char _binary_binary_txt_size[] __attribute__((__aligned__(1)));
 
 int
 main(int, char**)