]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/emulparams/elf32xtensa.sh
* emulparams/xtensa-config.sh: Delete file.
[thirdparty/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
13GENERATE_COMBRELOC_SCRIPT=yes
14NO_SMALL_DATA=yes
be2c2e39
BW
15PLT="/* .plt* sections are embedded in .text */"
16GOT=".got ${RELOCATING-0} : { *(.got) }"
398b8515
BW
17OTHER_READONLY_SECTIONS="
18 .got.loc ${RELOCATING-0} : { *(.got.loc) }
19 .xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table)) }
20"
e901de89 21OTHER_READWRITE_SECTIONS="
398b8515 22 .xt_except_desc ${RELOCATING-0} :
e0001a05 23 {
e901de89
BW
24 *(.xt_except_desc${RELOCATING+ .gnu.linkonce.h.*})
25 ${RELOCATING+*(.xt_except_desc_end)}
e0001a05 26 }
e901de89
BW
27"
28OTHER_SECTIONS="
398b8515
BW
29 .xt.lit 0 : { *(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*}) }
30 .xt.insn 0 : { *(.xt.insn${RELOCATING+ .gnu.linkonce.x.*}) }
74869ac7 31 .xt.prop 0 : { *(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*}) }
e901de89 32"