This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH COMMITTED: Fix alignment of copied symbols


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]