|
From: | ccoutant at gmail dot com |
Subject: | [Bug gold/16711] Linker script causes gold to allocate file space for bss |
Date: | Mon, 12 Dec 2016 01:35:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16711 Cary Coutant <ccoutant at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|ian at airs dot com |ccoutant at gmail dot com --- Comment #3 from Cary Coutant <ccoutant at gmail dot com> --- > I started debugging this and it seems like the problem lies in > Output_segment::set_section_addresses where we have > if (i < static_cast<int>(ORDER_SMALL_BSS)) > { > this->filesz_ = *poff - orig_off; > off = *poff; > } > and sections in a script are not sorted into output_lists_[] by ORDER_*. Thanks for that. That led me down a long path where fixing one problem exposed another problem. It should be fixed on trunk now. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |