2012-07-31 H.J. Lu PR ld/14156 * scripttempl/elfd10v.sc: Add SORT_NONE to .init and .fini sections. diff --git a/ld/scripttempl/elfd10v.sc b/ld/scripttempl/elfd10v.sc index 1cdfbdc..dc45cdd 100644 --- a/ld/scripttempl/elfd10v.sc +++ b/ld/scripttempl/elfd10v.sc @@ -87,10 +87,10 @@ SECTIONS .text ${RELOCATING+${TEXT_START_ADDR}} : { ${RELOCATING+${TEXT_START_SYMBOLS}} - KEEP (*(.init)) - KEEP (*(.init.*)) - KEEP (*(.fini)) - KEEP (*(.fini.*)) + KEEP (*(SORT_NONE(.init))) + KEEP (*(SORT_NONE(.init.*))) + KEEP (*(SORT_NONE(.fini))) + KEEP (*(SORT_NONE(.fini.*))) *(.text) *(.text.*) /* .gnu.warning sections are handled specially by elf32.em. */