PATCH: Add SORT_NONE to .init and .fini sections in linker sripts

Alan Modra amodra@gmail.com
Tue Jul 31 22:56:00 GMT 2012


On Tue, Jul 31, 2012 at 02:00:30PM -0700, H.J. Lu wrote:
> Some linker sripts put .init and .fini sections in .text section. Those
> targets fail PR ld/14156 tests.  This set of patches adds SORT_NONE to
> .init and .fini sections in linker sripts.  Tested for xtensa-elf, d30v-elf,
> d10v-elf and msp430-elf.  OK to install?

OK, but please add SORT_NONE to elf.sc too.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list