This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] Allow linker scripts to specify multiple output regions for an output section?
- From: Simon Richter <Simon dot Richter at hogyros dot de>
- To: binutils at sourceware dot org
- Date: Wed, 24 Jul 2019 11:18:52 +0200
- Subject: Re: [RFC] Allow linker scripts to specify multiple output regions for an output section?
- References: <20170309120639.GF3472@ratatosk> <593A92AB.6020609@foss.arm.com> <20170609133536.GA3343@ratatosk> <CAKdteObm+JZvH6ZZ=A08-P9WqQG-PjpaF=gqM+5=LQXxwSOPOw@mail.gmail.com> <20190702064857.GA3414@ratatosk> <CAKdteOZ4k1XrQ97GX4hhiK0xS=fA75Wv1bUUVhW0dcPjP26Z8A@mail.gmail.com> <9fcd5897-56ab-7653-900d-ea89a674de39@redhat.com>
Hi,
On Wed, Jul 24, 2019 at 08:28:05AM +0100, Nick Clifton wrote:
> If you do allow backtracking then the ordering of sections can change
> from the current linker's specified behaviour (sections are linked in
> input order unless a SORT keyword is used). And so users will complain.
> If you don't allow backtracking then there could be gaps in memory
> regions which could have been used, and users will complain... :-)
And if a section would fit after linker relaxation, but the new layout
would make the relaxations invalid...
Simon