Commit | Line | Data |
---|---|---|
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. | |
5 | SCRIPT_NAME=elfxtensa | |
6 | TEMPLATE_NAME=elf32 | |
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 | |
13 | ARCH=xtensa | |
14 | MACHINE= | |
15 | GENERATE_SHLIB_SCRIPT=yes | |
16 | GENERATE_COMBRELOC_SCRIPT=yes | |
17 | NO_SMALL_DATA=yes | |
398b8515 BW |
18 | OTHER_READONLY_SECTIONS=" |
19 | .got.loc ${RELOCATING-0} : { *(.got.loc) } | |
20 | .xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table)) } | |
21 | " | |
e901de89 | 22 | OTHER_READWRITE_SECTIONS=" |
398b8515 | 23 | .xt_except_desc ${RELOCATING-0} : |
e0001a05 | 24 | { |
e901de89 BW |
25 | *(.xt_except_desc${RELOCATING+ .gnu.linkonce.h.*}) |
26 | ${RELOCATING+*(.xt_except_desc_end)} | |
e0001a05 | 27 | } |
e901de89 BW |
28 | " |
29 | OTHER_SECTIONS=" | |
398b8515 BW |
30 | .xt.lit 0 : { *(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*}) } |
31 | .xt.insn 0 : { *(.xt.insn${RELOCATING+ .gnu.linkonce.x.*}) } | |
43cd72b9 | 32 | .xt.prop 0 : { *(.xt.prop${RELOCATING+ .gnu.linkonce.prop.*}) } |
e901de89 | 33 | " |