diff options
Diffstat (limited to 'libgloss/msp430/msp430.ld')
-rw-r--r-- | libgloss/msp430/msp430.ld | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libgloss/msp430/msp430.ld b/libgloss/msp430/msp430.ld index 022018600..4c5ebac24 100644 --- a/libgloss/msp430/msp430.ld +++ b/libgloss/msp430/msp430.ld @@ -79,8 +79,12 @@ SECTIONS { . = ALIGN(2); PROVIDE (_start = .); - KEEP (*(SORT(.crt_*))) - *(.lowtext .text .stub .text.* .gnu.linkonce.t.* .text:*) + KEEP (*(.crt_init)) + KEEP (*(.crt_bss)) + KEEP (*(.crt_movedata)) + KEEP (*(.crt_main)) + KEEP (*(.lowtext)) + *(.text .stub .text.* .gnu.linkonce.t.* .text:*) KEEP (*(.text.*personality*)) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) |