bfd/
[binutils-gdb.git] / ld / emulparams / elf32xtensa.sh
1 SCRIPT_NAME=elfxtensa
2 TEMPLATE_NAME=elf32
3 EXTRA_EM_FILE=xtensaelf
4 OUTPUT_FORMAT=undefined
5 BIG_OUTPUT_FORMAT="elf32-xtensa-be"
6 LITTLE_OUTPUT_FORMAT="elf32-xtensa-le"
7 TEXT_START_ADDR=0x400000
8 NONPAGED_TEXT_START_ADDR=0x400000
9 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
10 ARCH=xtensa
11 MACHINE=
12 GENERATE_SHLIB_SCRIPT=yes
13 GENERATE_PIE_SCRIPT=yes
14 GENERATE_COMBRELOC_SCRIPT=yes
15 NO_SMALL_DATA=yes
16 PLT="/* .plt* sections are embedded in .text */"
17 GOT=".got ${RELOCATING-0} : { *(.got) }"
18 OTHER_READONLY_SECTIONS="
19 .got.loc ${RELOCATING-0} : { *(.got.loc) }
20 .xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table)) }
21 "
22 OTHER_READWRITE_SECTIONS="
23 .xt_except_desc ${RELOCATING-0} :
24 {
25 *(.xt_except_desc${RELOCATING+ .gnu.linkonce.h.*})
26 ${RELOCATING+*(.xt_except_desc_end)}
27 }
28 "
29 OTHER_SECTIONS="
30 .xt.lit 0 : { *(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*}) }
31 .xt.insn 0 : { *(.xt.insn${RELOCATING+ .gnu.linkonce.x.*}) }
32 .xt.prop 0 : { *(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*}) }
33 "