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: Porting the linker


On Mon, May 17, 2010 at 05:03:11PM -0400, Jean Christophe Beyler wrote:
> - Modify the output segments to point to the bigger segment versions
> of them with a function such as this one after the lang_place_orphans

This isn't sufficient.  You will also need to call init_os on the new
output section.  See lang_add_section, the function that does the work
for map_input_to_output_sections.

-- 
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]