1*1424dfb3SchristosSCRIPT_NAME=elfxtensa
2*1424dfb3SchristosTEMPLATE_NAME=elf
3*1424dfb3SchristosEXTRA_EM_FILE=xtensaelf
4*1424dfb3SchristosOUTPUT_FORMAT=undefined
5*1424dfb3SchristosBIG_OUTPUT_FORMAT="elf32-xtensa-be"
6*1424dfb3SchristosLITTLE_OUTPUT_FORMAT="elf32-xtensa-le"
7*1424dfb3SchristosNO_REL_RELOCS=yes
8*1424dfb3SchristosTEXT_START_ADDR=0x400000
9*1424dfb3SchristosMAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
10*1424dfb3SchristosCOMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
11*1424dfb3SchristosARCH=xtensa
12*1424dfb3SchristosMACHINE=
13*1424dfb3SchristosGENERATE_SHLIB_SCRIPT=yes
14*1424dfb3SchristosGENERATE_PIE_SCRIPT=yes
15*1424dfb3SchristosGENERATE_COMBRELOC_SCRIPT=yes
16*1424dfb3SchristosNO_SMALL_DATA=yes
17*1424dfb3SchristosTEXT_PLT=yes
18*1424dfb3SchristosPLT="/* .plt* sections are embedded in .text */"
19*1424dfb3SchristosGOT=".got          ${RELOCATING-0} : { *(.got) }"
20*1424dfb3SchristosOTHER_READONLY_SECTIONS="
21*1424dfb3Schristos  .got.loc      ${RELOCATING-0} : { *(.got.loc) }
22*1424dfb3Schristos  .xt_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
23*1424dfb3Schristos"
24*1424dfb3SchristosOTHER_RELRO_SECTIONS="
25*1424dfb3Schristos  .xt_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
26*1424dfb3Schristos"
27*1424dfb3SchristosOTHER_READWRITE_SECTIONS="
28*1424dfb3Schristos  .xt_except_desc ${RELOCATING-0} :
29*1424dfb3Schristos  {
30*1424dfb3Schristos    *(.xt_except_desc${RELOCATING+ .xt_except_desc.* .gnu.linkonce.h.*})
31*1424dfb3Schristos    ${RELOCATING+*(.xt_except_desc_end)}
32*1424dfb3Schristos  }
33*1424dfb3Schristos"
34*1424dfb3SchristosOTHER_SDATA_SECTIONS="
35*1424dfb3Schristos  .lit4         ${RELOCATING-0} :
36*1424dfb3Schristos  {
37*1424dfb3Schristos    ${RELOCATING+PROVIDE (_lit4_start = .);}
38*1424dfb3Schristos    *(.lit4${RELOCATING+ .lit4.* .gnu.linkonce.lit4.*})
39*1424dfb3Schristos    ${RELOCATING+PROVIDE (_lit4_end = .);}
40*1424dfb3Schristos  }
41*1424dfb3Schristos"
42*1424dfb3SchristosOTHER_SECTIONS="
43*1424dfb3Schristos  .xt.lit       0 : { KEEP (*(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*})) }
44*1424dfb3Schristos  .xt.insn      0 : { KEEP (*(.xt.insn${RELOCATING+ .gnu.linkonce.x.*})) }
45*1424dfb3Schristos  .xt.prop      0 : { KEEP (*(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*})) }
46*1424dfb3Schristos"
47