bfd/
[deliverable/binutils-gdb.git] / ld / emulparams / elf32xtensa.sh
CommitLineData
e0001a05
NC
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.
5SCRIPT_NAME=elfxtensa
6TEMPLATE_NAME=elf32
7EXTRA_EM_FILE=xtensaelf
8OUTPUT_FORMAT=undefined
9BIG_OUTPUT_FORMAT="elf32-xtensa-be"
10LITTLE_OUTPUT_FORMAT="elf32-xtensa-le"
11TEXT_START_ADDR=0x400000
12NONPAGED_TEXT_START_ADDR=0x400000
13ARCH=xtensa
14MACHINE=
15GENERATE_SHLIB_SCRIPT=yes
16GENERATE_COMBRELOC_SCRIPT=yes
17NO_SMALL_DATA=yes
be2c2e39
BW
18PLT="/* .plt* sections are embedded in .text */"
19GOT=".got ${RELOCATING-0} : { *(.got) }"
398b8515
BW
20OTHER_READONLY_SECTIONS="
21 .got.loc ${RELOCATING-0} : { *(.got.loc) }
22 .xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table)) }
23"
e901de89 24OTHER_READWRITE_SECTIONS="
398b8515 25 .xt_except_desc ${RELOCATING-0} :
e0001a05 26 {
e901de89
BW
27 *(.xt_except_desc${RELOCATING+ .gnu.linkonce.h.*})
28 ${RELOCATING+*(.xt_except_desc_end)}
e0001a05 29 }
e901de89
BW
30"
31OTHER_SECTIONS="
398b8515
BW
32 .xt.lit 0 : { *(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*}) }
33 .xt.insn 0 : { *(.xt.insn${RELOCATING+ .gnu.linkonce.x.*}) }
74869ac7 34 .xt.prop 0 : { *(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*}) }
e901de89 35"
This page took 0.189682 seconds and 4 git commands to generate.