bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/11899] segments not sorted by LMA


From: ian at airs dot com
Subject: [Bug gold/11899] segments not sorted by LMA
Date: 19 Aug 2010 23:00:12 -0000

------- Additional Comments From ian at airs dot com  2010-08-19 23:00 -------
The patch is not correct in general, because the paddr_ field of segments is 
not 
set in general at the point where it is tested.  It will be set when a linker 
script is used, but not by default.  The paddr_ field is set when 
Layout::set_segment_offsets calls set_section_addresses, but not before.

Your patch would probably be correct if it tested something like
  seg1->are_addresses_set() ? seg1->paddr() : seg1->first_section_load_address()

Want to try that?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=11899

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]