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: size_input_section calcs output_offset incorrectly for merged sections


On Sat, Jan 05, 2008 at 08:59:04AM -0800, Michael Eager wrote:
> It seems to me that output_offset should be the same in both
> cases.  I've run a couple tests which work with this change.
> 
> Does this seem correct?

No.  The code is correct for excluded sections in general.  You
shouldn't be using symbols from merged sections directly.  See
_bfd_merged_section_offset, _bfd_elf_rel{,a}_local_sym.

-- 
Alan Modra
Australia Development Lab, IBM


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