e316b3a0ed
(GENERATE_SHLIB_SCRIPT): Set to yes. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... * emulparams/elf32bmipn32.sh: here. (GENERATE_SHLIB_SCRIPT): Deleted as redundant. * emulparams/elf32btsmipn32.sh: Delete redundant unsets. * emulparams/elf64bmip-defs.sh: New file. Extend elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. * emulparams/elf64bmip.sh: Bring in definitions from elf64bmip-defs.sh. (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant settings. (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. * emulparams/elf64btsmip.sh: Bring in definitions from elf64bmip-defs.sh. (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
20 lines
609 B
Bash
20 lines
609 B
Bash
# If you change this file, please also look at files which source this one:
|
|
# elf64ltsmip.sh
|
|
|
|
. ${srcdir}/emulparams/elf64bmip-defs.sh
|
|
OUTPUT_FORMAT="elf64-tradbigmips"
|
|
BIG_OUTPUT_FORMAT="elf64-tradbigmips"
|
|
LITTLE_OUTPUT_FORMAT="elf64-tradlittlemips"
|
|
|
|
DATA_ADDR=0x0400000000
|
|
NONPAGED_TEXT_START_ADDR=0x10000000
|
|
SHLIB_TEXT_START_ADDR=0
|
|
TEXT_DYNAMIC=
|
|
|
|
# Magic sections.
|
|
INITIAL_READONLY_SECTIONS='.MIPS.options : { *(.MIPS.options) }'
|
|
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
|
|
OTHER_SECTIONS='
|
|
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
|
|
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
|
|
'
|