diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2015-10-05 16:57:16 +0200 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2015-10-28 16:49:13 -0700 |
commit | 238830c697fdfca5c9cbb0bbb24fd215f643a934 (patch) | |
tree | 382d2d7adde95e2b079cac1c902c543f909c8224 /gold/testsuite/binary_test.cc | |
parent | bd890911dac4a201cb08c54ad5a7444b7306151d (diff) | |
download | gdb-238830c697fdfca5c9cbb0bbb24fd215f643a934.zip gdb-238830c697fdfca5c9cbb0bbb24fd215f643a934.tar.gz gdb-238830c697fdfca5c9cbb0bbb24fd215f643a934.tar.bz2 |
Add __attribute__((__aligned__(1))) to unaligned symbols from scripts (for s390).
gold/
* testsuite/binary_test.cc: Add __attribute__((aligned(1))).
* testsuite/script_test_12a.c: Likewise.
* testsuite/script_test_1a.cc: Likewise.
* testsuite/script_test_2.cc: Likewise.
Diffstat (limited to 'gold/testsuite/binary_test.cc')
-rw-r--r-- | gold/testsuite/binary_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/testsuite/binary_test.cc b/gold/testsuite/binary_test.cc index 4ee9868..6b516fc 100644 --- a/gold/testsuite/binary_test.cc +++ b/gold/testsuite/binary_test.cc @@ -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**) |