Porting the linker

Alan Modra amodra@gmail.com
Fri May 21 05:48:00 GMT 2010

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

More information about the Binutils mailing list