837a17b36c
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.
19 lines
267 B
Bash
19 lines
267 B
Bash
#!/bin/sh
|
|
|
|
# This called by genscripts_extra.sh
|
|
|
|
SCRIPT_NAME=elf32msp430
|
|
TEMPLATE_NAME=msp430
|
|
EXTRA_EM_FILE=genelf
|
|
OUTPUT_FORMAT="elf32-msp430"
|
|
MACHINE=
|
|
MAXPAGESIZE=1
|
|
EMBEDDED=yes
|
|
|
|
ARCH=msp:14
|
|
ROM_START=0x8000
|
|
ROM_SIZE=0x7fe0
|
|
RAM_START=0x0200
|
|
RAM_SIZE=1K
|
|
STACK=0x600
|