| 1 | SCRIPT_NAME=elf |
| 2 | TEMPLATE_NAME=elf32 |
| 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 |
| 6 | # to be overridden. |
| 7 | TEXT_START_ADDR=0x8000 |
| 8 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
| 9 | ARCH=tic6x |
| 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. |
| 15 | RODATA_NAME="const" |
| 16 | SDATA_NAME="neardata" |
| 17 | SBSS_NAME="bss" |
| 18 | BSS_NAME="far" |
| 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.*}) }" |