diff options
author | Nick Clifton <nickc@redhat.com> | 2015-05-05 13:38:00 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-05-05 13:38:00 +0100 |
commit | 837a17b36c9e297f4bf33727e25dfa9f38360c17 (patch) | |
tree | 5cf6ecb482076cf1e20e437b6ea94c00c87cb103 /ld/ChangeLog | |
parent | b76f99d702c3501ac320396ea06bc7f9237173c3 (diff) | |
download | gdb-837a17b36c9e297f4bf33727e25dfa9f38360c17.zip gdb-837a17b36c9e297f4bf33727e25dfa9f38360c17.tar.gz gdb-837a17b36c9e297f4bf33727e25dfa9f38360c17.tar.bz2 |
Add support to the MSP430 linker for the automatic placement of code and data into either low or high memory regions.
gas * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
(msp430_make_init_symbols): New function.
(msp430_section): Call it.
(msp430_frob_section): Likewise.
ld * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
* scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
(.data): Add .lower.data and .either.data.
(.bss): Add .lower.bss and .either.bss.
(.rodata): Add .lower.rodata and .either.rodata.
* emultempl/msp430.em: New file. Implements a new orphan
placement algorithm that divides sections between lower and upper
memory regions.
* Makefile.am (emsp430elf.c): Depend upon msp430.em.
*emsp430X.c): Likewise.
* Makefine.in: Regenerate.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 3448bba..243bf5f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,17 @@ +2015-05-05 Nick Clifton <nickc@redhat.com> + + * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430. + * scripttempl/msp430.sc (.text): Add .lower.text and .either.text. + (.data): Add .lower.data and .either.data. + (.bss): Add .lower.bss and .either.bss. + (.rodata): Add .lower.rodata and .either.rodata. + * emultempl/msp430.em: New file. Implements a new orphan + placement algorithm that divides sections between lower and upper + memory regions. + * Makefile.am (emsp430elf.c): Depend upon msp430.em. + *emsp430X.c): Likewise. + * Makefine.in: Regenerate. + 2015-04-28 Andreas Schwab <schwab@linux-m68k.org> PR ld/18344 |