Add Xtensa port
[deliverable/binutils-gdb.git] / ld / emulparams / elf32xtensa.sh
1 # First set some configuration-specific variables
2 . ${srcdir}/emulparams/xtensa-config.sh
3
4 # See genscripts.sh and ../scripttempl/elfxtensa.sc for the meaning of these.
5 SCRIPT_NAME=elfxtensa
6 TEMPLATE_NAME=elf32
7 EXTRA_EM_FILE=xtensaelf
8 OUTPUT_FORMAT=undefined
9 BIG_OUTPUT_FORMAT="elf32-xtensa-be"
10 LITTLE_OUTPUT_FORMAT="elf32-xtensa-le"
11 TEXT_START_ADDR=0x400000
12 NONPAGED_TEXT_START_ADDR=0x400000
13 ARCH=xtensa
14 MACHINE=
15 GENERATE_SHLIB_SCRIPT=yes
16 GENERATE_COMBRELOC_SCRIPT=yes
17 NO_SMALL_DATA=yes
18 OTHER_READONLY_SECTIONS='
19 .xt_except_table : { KEEP (*(.xt_except_table)) }
20 .xt.lit : { *(.xt.lit*) *(.gnu.linkonce.p*) }
21 '
22 OTHER_READWRITE_SECTIONS='
23 .xt_except_desc :
24 {
25 *(.xt_except_desc)
26 *(.gnu.linkonce.h.*)
27 *(.xt_except_desc_end)
28 }
29 '
30 OTHER_SECTIONS='
31 .xt.insn : { *(.xt.insn) *(.gnu.linkonce.x*) }
32 '
This page took 0.030019 seconds and 4 git commands to generate.