PATCH COMMITTED: Fix alignment of copied symbols

David Miller davem@davemloft.net
Wed Jun 18 08:36:00 GMT 2008


From: Ian Lance Taylor <iant@google.com>
Date: Tue, 17 Jun 2008 21:41:55 -0700

> I discovered that copied symbols always use the alignment of the first
> copied symbol seen.  If later copied symbols require a larger
> alignment, that is not reflected in the dynbss section.  This is a bug
> in the Output_section::Input_section class when used with an
> Output_section_data: it always uses the initial alignment rather than
> the final one.
> 
> I committed this patch to fix the bug, along with a test case.

I'm pretty sure I was seeing side effects of this bug on Sparc
at one point.



More information about the Binutils mailing list