[patch] Fix handling of common symbols with plugins
Alan Modra
amodra@gmail.com
Sat Sep 27 02:53:00 GMT 2014
On Thu, Sep 18, 2014 at 10:09:06AM -0700, Cary Coutant wrote:
> >> 2014-09-18 Rafael Ãvila de EspÃndola <rafael.espindola@gmail.com>
> >>
> >> * testsuite/Makefile.am (plugin_test_10): New test.
> >> * testsuite/Makefile.in: Regenerate
> >> * testsuite/plugin_common_test_2.c (c1): Align to 8.
> >> * testsuite/plugin_test_10.sh: New file.
>
> This is OK. Thanks!
Fails on x86_64 when using mainline gcc. c1 is aligned (value = 8) in
the relocatable object file
20: 0000000000000008 4 OBJECT GLOBAL DEFAULT COM c1
plugin_common_test_1.syms:
23: 0000000000000004 4 OBJECT GLOBAL DEFAULT COM c1
Final object file:
39: 0000000000401b7c 4 OBJECT GLOBAL DEFAULT 25 c1
and .bss only has an alignment of 4.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list