gold bug combining .bss sections...
Ian Lance Taylor
iant@google.com
Fri Apr 11 22:56:00 GMT 2008
David Miller <davem@davemloft.net> writes:
> If, for example, we have a normal .bss in the final link with only a
> necessary alignment of 4, and we also have a dynbss .bss with a copy
> reloc needing an alignment of 8, gold outputs the final combined .bss
> section with only an alignment of 4.
I just committed this patch which I think should fix this problem.
Ian
2008-04-11 Ian Lance Taylor <iant@google.com>
* output.h (class Output_section_data): Remove inline definition
of set_addralign.
* output.cc (Output_section_data::set_addralign): New function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 1317 bytes
Desc: Pass alignment change to section
URL: <https://sourceware.org/pipermail/binutils/attachments/20080411/159ae67f/attachment.bin>
More information about the Binutils
mailing list