3 OUTPUT_FORMAT
="elf32-tic6x-le"
4 # This address is an arbitrary value expected to be suitable for
5 # semihosting simulator use, but not on hardware where it is expected
8 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
10 EXECUTABLE_SYMBOLS
="EXTERN (__c6xabi_DSBT_BASE);"
11 SDATA_START_SYMBOLS
="PROVIDE_HIDDEN (__c6xabi_DSBT_BASE = .);"
12 # ".bss" is near (small) BSS, ".far" is far (normal) BSS, ".const" is
13 # far read-only data, ".rodata" is near read-only data. ".neardata"
14 # is near (small) data, ".fardata" is (along with .data) far data.
19 OTHER_SDATA_SECTIONS
=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.*}) }"
20 OTHER_READONLY_RELOC_SECTIONS
="
21 .rel.rodata ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.*}) }
22 .rela.rodata ${RELOCATING-0} : { *(.rela.rodata${RELOCATING+ .rela.rodata.*}) }"
23 OTHER_READWRITE_SECTIONS
=".fardata ${RELOCATING-0} : { *(.fardata${RELOCATING+ .fardata.*}) }"
24 OTHER_READWRITE_RELOC_SECTIONS
="
25 .rel.fardata ${RELOCATING-0} : { *(.rel.fardata${RELOCATING+ .rel.fardata.*}) }
26 .rela.fardata ${RELOCATING-0} : { *(.rela.fardata${RELOCATING+ .rela.fardata.*}) }"