[PATCH] gold/testsuite: Add __attribute__((__aligned__(1))) to unaligned symbols from scripts.
Marcin Kościelnicki
koriakin@0x04.net
Sun Sep 27 13:18:00 GMT 2015
This makes script_test_1, script_test_2, script_test_12, script_test12i,
binary_test pass on 64-bit s390. Without this patch, compiler emits larl
instructions to load symbol values, assuming they'll be aligned to 2
bytes (like all symbols are on s390 by default). larl only works on
aligned targets, and bad things happen.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-gold-testsuite-Add-__attribute__-__aligned__-1-to-un.patch
Type: text/x-patch
Size: 3184 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150927/b7ff8bca/attachment.bin>
More information about the Binutils
mailing list