ce46249c15
bfin, msp, and score all used an extra parameter to genscripts.sh to select a "customizer_script" different from the standard one named from the emulation. This patch renames the scripts to avoid the need, tidying them in the process. * emulparams/elf32bfin.sh: Rename from bfin.sh. * emulparams/elf32bfinfd.sh: Update to suit. * emulparams/: Delete. * emulparams/msp430.sh: Rename from msp430all.sh. Remove MSP430_NAME and msp430X vars. * emulparams/msp430X.sh: New. * emulparams/: Delete. * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove SCORE_NAME and score7_elf ARCH setting. * emulparams/score7_elf.sh: New. * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies. (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise. * Makefile.in: Regenerate. * genscripts.sh: Delete customizer_script param.
47 lines
933 B
Bash
47 lines
933 B
Bash
. ${srcdir}/emulparams/elf32bfin.sh
|
|
unset STACK_ADDR
|
|
OUTPUT_FORMAT="elf32-bfinfdpic"
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
TEMPLATE_NAME=elf32
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|
|
EMBEDDED= # This gets us program headers mapped as part of the text segment.
|
|
OTHER_GOT_SYMBOLS=
|
|
OTHER_READONLY_SECTIONS="
|
|
.rofixup : {
|
|
${RELOCATING+__ROFIXUP_LIST__ = .;}
|
|
*(.rofixup)
|
|
${RELOCATING+__ROFIXUP_END__ = .;}
|
|
}
|
|
"
|
|
# 0xfeb00000, 0xfec00000, 0xff700000, 0xff800000, 0xff900000
|
|
# 0xffa00000 are also used in Dynamic linker and linux kernel.
|
|
# They need to be kept synchronized.
|
|
OTHER_SECTIONS="
|
|
.l2.text 0xfeb00000 :
|
|
{
|
|
*(.l2.text)
|
|
}
|
|
.l2.data 0xfec00000 :
|
|
{
|
|
*(.l2.data)
|
|
}
|
|
.l1.data 0xff700000 :
|
|
{
|
|
*(.l1.data)
|
|
}
|
|
.l1.data.A 0xff800000 :
|
|
{
|
|
*(.l1.data.A)
|
|
}
|
|
.l1.data.B 0xff900000 :
|
|
{
|
|
*(.l1.data.B)
|
|
}
|
|
.l1.text 0xffa00000 :
|
|
{
|
|
*(.l1.text)
|
|
}
|
|
"
|
|
EXTRA_EM_FILE=bfin
|