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

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2012-08-09 15:00:36 
UTC ---
The key point connecting the Output_section_element_input and the Layout code
is the call to Output_section_element_input::match_name.  From the Layout side,
it's the call to ss->output_section_name in Layout::chose_output_section.  So I
would suggest having Output_section_element_input::match_name return whether
the section is kept (e.g., in a new bool* parameter).  Then the Layout code can
pass that information back from Layout::layout, and
Sized_relobj_file::do_layout can add the input section to the worklist.

Thanks for looking at this.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to