diff options
author | Nick Clifton <nickc@redhat.com> | 2015-05-05 12:45:38 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-05-05 12:45:38 +0100 |
commit | 474fb80297c858d649f0cfeb5c60125153e97ae5 (patch) | |
tree | d43058740244027b83b5d4081a6b9bf3ee9eddba /newlib/libc/stdlib/getenv_r.c | |
parent | e0ddd3b833004e2253213705cc0da0acae649536 (diff) | |
download | cygnal-474fb80297c858d649f0cfeb5c60125153e97ae5.tar.gz cygnal-474fb80297c858d649f0cfeb5c60125153e97ae5.tar.bz2 cygnal-474fb80297c858d649f0cfeb5c60125153e97ae5.zip |
Adds support for placing MSP430 code and data into either low memory or high memory.
* msp430/msp430.ld: Delete.
* msp430/msp430F5438A-l.ld: Delete.
* msp430/msp430F5438A-s.ld: Delete.
* msp430/crt_movedata.S: Delete.
* msp430/Makefile.in (SCRIPTS): Remove msp430.ld.
(CRT_OBJS): Add crt_move_highdata.o.
* msp430/memmodel.h (START_CRT_FUNC): New macro.
(END_CRT_FUNC): New macro.
(WEAK_DEF): New macro.
* msp430/crt0.S: Use new macros.
(move_highdata): New code to initialise the .data section if it is
held in high memory.
* msp430/msp430-sim.ld (.data): Add .either.data.
(.rodata2): Move some read-only data sections here.
(.text): Add .either.text.
(.rodata): Add .either.rodata.
(.bss): Add .either.bss.
* msp430/msp430xl-sim.ld (MEMORY): Add HIROM.
(.rodata2): Move some read-only data sections here.
(.upper.data): New section. Include notes about how to initialise
it.
Diffstat (limited to 'newlib/libc/stdlib/getenv_r.c')
0 files changed, 0 insertions, 0 deletions