bfd/
[deliverable/binutils-gdb.git] / ld / emulparams / elf32xtensa.sh
CommitLineData
e0001a05
NC
1SCRIPT_NAME=elfxtensa
2TEMPLATE_NAME=elf32
3EXTRA_EM_FILE=xtensaelf
4OUTPUT_FORMAT=undefined
5BIG_OUTPUT_FORMAT="elf32-xtensa-be"
6LITTLE_OUTPUT_FORMAT="elf32-xtensa-le"
7TEXT_START_ADDR=0x400000
8NONPAGED_TEXT_START_ADDR=0x400000
a9c70046 9MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
e0001a05
NC
10ARCH=xtensa
11MACHINE=
12GENERATE_SHLIB_SCRIPT=yes
ba05963f 13GENERATE_PIE_SCRIPT=yes
e0001a05
NC
14GENERATE_COMBRELOC_SCRIPT=yes
15NO_SMALL_DATA=yes
3c173cb1 16TEXT_PLT=yes
be2c2e39
BW
17PLT="/* .plt* sections are embedded in .text */"
18GOT=".got ${RELOCATING-0} : { *(.got) }"
398b8515
BW
19OTHER_READONLY_SECTIONS="
20 .got.loc ${RELOCATING-0} : { *(.got.loc) }
3c173cb1 21 .xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
398b8515 22"
e901de89 23OTHER_READWRITE_SECTIONS="
398b8515 24 .xt_except_desc ${RELOCATING-0} :
e0001a05 25 {
3c173cb1 26 *(.xt_except_desc${RELOCATING+ .xt_except_desc.* .gnu.linkonce.h.*})
e901de89 27 ${RELOCATING+*(.xt_except_desc_end)}
e0001a05 28 }
e901de89 29"
3c173cb1
BW
30OTHER_SDATA_SECTIONS="
31 .lit4 ${RELOCATING-0} :
32 {
33 ${RELOCATING+PROVIDE (_lit4_start = .);}
34 *(.lit4${RELOCATING+ .lit4.* .gnu.linkonce.lit4.*})
35 ${RELOCATING+PROVIDE (_lit4_end = .);}
36 }
37"
e901de89 38OTHER_SECTIONS="
e1e5c0b5
BW
39 .xt.lit 0 : { KEEP (*(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*})) }
40 .xt.insn 0 : { KEEP (*(.xt.insn${RELOCATING+ .gnu.linkonce.x.*})) }
41 .xt.prop 0 : { KEEP (*(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*})) }
e901de89 42"
This page took 0.19293 seconds and 4 git commands to generate.