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] |
The attached patch fixes the problem. Also includes a testcase. All make check-gold test passes for me on x86_64-unknown-linux-gnu. Is it ok? thanks, Alexander 2013/5/31 Ian Lance Taylor <iant@google.com>: > On Fri, May 31, 2013 at 4:13 AM, Alexander Ivchenko <aivchenk@gmail.com> wrote: >> >> Was that behavior made intentionally or it's just a bug? >> I know that it's a pretty big alignment and that could be suspicious, >> but we can at least warn the user that his code won't be linked the >> way it was written. > > It's a bug. The bug is in Layout::set_segment_offsets. It rounds the > address to abi_pagesize without considering that the segment alignment > might be larger than that. > > Ian
Attachment:
large_alignment_fix_01.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |