diff options
author | DJ Delorie <dj@redhat.com> | 2014-01-30 06:46:34 +0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2014-01-30 06:46:34 +0400 |
commit | ed94d4a4aa8ee4cd5c863c6ce38ea15c64508c43 (patch) | |
tree | 1e902ae475c11464972966505a34724e2c2e7c65 /libgloss/msp430/msp430xl-sim.ld | |
parent | 25833f57c154d4288bbe15570a3a61f435271253 (diff) |
* msp430/Makefile.in (crt0-minrt.o, crtn-minrt.o): New. Build
from crt0.S with -DMINRT.
(CRT_OBJS): Expand.
(crt_%.o): New rule pattern. Build multiple objects from crt0.S.
* msp430/crt0.S: Further break out functionality. Support -DMINRT
that omits all init/fini logic.
* msp430/crtn.S: Likewise.
* msp430/msp430-sim.ld: Wildcard all .crt_* sections, sorted.
* msp430/msp430.ld: Likewise.
* msp430/msp430xl-sim.ld: Likewise.
Diffstat (limited to 'libgloss/msp430/msp430xl-sim.ld')
-rw-r--r-- | libgloss/msp430/msp430xl-sim.ld | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libgloss/msp430/msp430xl-sim.ld b/libgloss/msp430/msp430xl-sim.ld index 322a490f4..3bd146375 100644 --- a/libgloss/msp430/msp430xl-sim.ld +++ b/libgloss/msp430/msp430xl-sim.ld @@ -144,10 +144,7 @@ SECTIONS { PROVIDE (_start = .); . = ALIGN(2); - KEEP (*(.crt_init)) - KEEP (*(.crt_bss)) - KEEP (*(.crt_movedata)) - KEEP (*(.crt_main)) + KEEP (*(SORT(.crt_*))) KEEP (*(.lowtext)) } > LOWROM |