1 # First set some configuration-specific variables
2 . ${srcdir}/emulparams/xtensa-config.sh
4 # See genscripts.sh and ../scripttempl/elfxtensa.sc for the meaning of these.
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
15 GENERATE_SHLIB_SCRIPT=yes
16 GENERATE_COMBRELOC_SCRIPT=yes
18 PLT="/* .plt* sections are embedded in .text */"
19 GOT=".got ${RELOCATING-0} : { *(.got) }"
20 OTHER_READONLY_SECTIONS="
21 .got.loc ${RELOCATING-0} : { *(.got.loc) }
22 .xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table)) }
24 OTHER_READWRITE_SECTIONS="
25 .xt_except_desc ${RELOCATING-0} :
27 *(.xt_except_desc${RELOCATING+ .gnu.linkonce.h.*})
28 ${RELOCATING+*(.xt_except_desc_end)}
32 .xt.lit 0 : { *(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*}) }
33 .xt.insn 0 : { *(.xt.insn${RELOCATING+ .gnu.linkonce.x.*}) }
34 .xt.prop 0 : { *(.xt.prop${RELOCATING+ .gnu.linkonce.prop.*}) }