This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Porting the linker
- From: Alan Modra <amodra at gmail dot com>
- To: Jean Christophe Beyler <jean dot christophe dot beyler at gmail dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, binutils at sourceware dot org
- Date: Fri, 21 May 2010 15:18:35 +0930
- Subject: Re: Porting the linker
- References: <c568a2601002240753g5a74268bo2be8976ed2b678fa@mail.gmail.com> <4B8BF868.7010006@redhat.com> <c568a2601003091326g2d3f1191t5e76d7bbe9cad987@mail.gmail.com> <4B979A8E.3070209@redhat.com> <AANLkTilYWJufkn9ouDhdHTFjKFV-1XlFzYGpmV9Fdhgw@mail.gmail.com>
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