Add support to the MSP430 linker for the automatic placement of code and data into...
authorNick Clifton <nickc@redhat.com>
Tue, 5 May 2015 12:38:00 +0000 (13:38 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 5 May 2015 12:38:00 +0000 (13:38 +0100)
commit837a17b36c9e297f4bf33727e25dfa9f38360c17
tree5cf6ecb482076cf1e20e437b6ea94c00c87cb103
parentb76f99d702c3501ac320396ea06bc7f9237173c3
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.
gas/ChangeLog
gas/config/tc-msp430.c
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/emulparams/msp430elf.sh
ld/emultempl/msp430.em [new file with mode: 0644]
ld/scripttempl/elf32msp430.sc
This page took 0.027071 seconds and 4 git commands to generate.