Commit | Line | Data |
---|---|---|
e0001a05 NC |
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" | |
e78c4c7e | 7 | NO_REL_RELOCS=yes |
e0001a05 | 8 | TEXT_START_ADDR=0x400000 |
a9c70046 | 9 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
d6ab6481 | 10 | COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" |
e0001a05 NC |
11 | ARCH=xtensa |
12 | MACHINE= | |
13 | GENERATE_SHLIB_SCRIPT=yes | |
ba05963f | 14 | GENERATE_PIE_SCRIPT=yes |
e0001a05 NC |
15 | GENERATE_COMBRELOC_SCRIPT=yes |
16 | NO_SMALL_DATA=yes | |
3c173cb1 | 17 | TEXT_PLT=yes |
be2c2e39 BW |
18 | PLT="/* .plt* sections are embedded in .text */" |
19 | GOT=".got ${RELOCATING-0} : { *(.got) }" | |
398b8515 BW |
20 | OTHER_READONLY_SECTIONS=" |
21 | .got.loc ${RELOCATING-0} : { *(.got.loc) } | |
460d3e08 BW |
22 | .xt_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) } |
23 | " | |
24 | OTHER_RELRO_SECTIONS=" | |
25 | .xt_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) } | |
398b8515 | 26 | " |
e901de89 | 27 | OTHER_READWRITE_SECTIONS=" |
398b8515 | 28 | .xt_except_desc ${RELOCATING-0} : |
e0001a05 | 29 | { |
3c173cb1 | 30 | *(.xt_except_desc${RELOCATING+ .xt_except_desc.* .gnu.linkonce.h.*}) |
e901de89 | 31 | ${RELOCATING+*(.xt_except_desc_end)} |
e0001a05 | 32 | } |
e901de89 | 33 | " |
3c173cb1 BW |
34 | OTHER_SDATA_SECTIONS=" |
35 | .lit4 ${RELOCATING-0} : | |
36 | { | |
37 | ${RELOCATING+PROVIDE (_lit4_start = .);} | |
38 | *(.lit4${RELOCATING+ .lit4.* .gnu.linkonce.lit4.*}) | |
39 | ${RELOCATING+PROVIDE (_lit4_end = .);} | |
40 | } | |
41 | " | |
e901de89 | 42 | OTHER_SECTIONS=" |
e1e5c0b5 BW |
43 | .xt.lit 0 : { KEEP (*(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*})) } |
44 | .xt.insn 0 : { KEEP (*(.xt.insn${RELOCATING+ .gnu.linkonce.x.*})) } | |
45 | .xt.prop 0 : { KEEP (*(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*})) } | |
e901de89 | 46 | " |