diff options
author | DJ Delorie <dj@redhat.com> | 2014-01-30 02:46:34 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2014-01-30 02:46:34 +0000 |
commit | ed94d4a4aa8ee4cd5c863c6ce38ea15c64508c43 (patch) | |
tree | 1e902ae475c11464972966505a34724e2c2e7c65 /libgloss/msp430/crtn.S | |
parent | 25833f57c154d4288bbe15570a3a61f435271253 (diff) | |
download | cygnal-ed94d4a4aa8ee4cd5c863c6ce38ea15c64508c43.tar.gz cygnal-ed94d4a4aa8ee4cd5c863c6ce38ea15c64508c43.tar.bz2 cygnal-ed94d4a4aa8ee4cd5c863c6ce38ea15c64508c43.zip |
* 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/crtn.S')
-rw-r--r-- | libgloss/msp430/crtn.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgloss/msp430/crtn.S b/libgloss/msp430/crtn.S index 9fcaec0af..939d5ce6f 100644 --- a/libgloss/msp430/crtn.S +++ b/libgloss/msp430/crtn.S @@ -13,6 +13,7 @@ #include "memmodel.h" +#ifndef MINRT .section .init,"ax" call_ #_msp430_run_preinit_array call_ #_msp430_run_init_array @@ -28,3 +29,4 @@ __msp430_fini_end: .text +#endif |