elf.sc input section changes
Alan Modra
amodra@bigpond.net.au
Wed Nov 21 07:38:00 GMT 2001
On Wed, Nov 21, 2001 at 04:12:25PM +0100, Jakub Jelinek wrote:
> >
> > which doesn't reorder the input sections.
>
> This patch steps on toes of
> http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01250.html
> Thus, .data should be something like:
> .data :
> {
> *(.data.rel.ro.local)
> *(.data.rel.local)
> *(.data.rel.ro)
> *(.data.rel*)
> *(.data .data.* .gnu.linkonce.d.*)
> }
Thanks. This is exactly the sort of feedback I'm looking for, except
in this particular case I believe Jan's patch needs your suggested
linker script modification even with the current linker (because
.data.rel.ro.local, .data.rel.local etc. will all be matched by .data.*,
thus not sorted).
I'm off to bed, so expect me to ignore any replies for a while.
More information about the Binutils
mailing list