# Linker script for TI TMS320C80 (tic80) COFF. # # Besides the shell variables set by the emulparams script, and the LD_FLAG # variable, the genscripts.sh script will set the following variables for each # time this script is run to generate one of the linker scripts for ldscripts: # # RELOCATING: Set to a non-empty string when the linker is going to be doing # a final relocation. # # CONSTRUCTING: Set to a non-empty string when the linker is going to be # building global constructor and destructor tables. # # DATA_ALIGNMENT: Set to an ALIGN expression when the output should be page # aligned, or to "." when generating the -N script. # # CREATE_SHLIB: Set to a non-empty string when generating a script for # the -shared linker arg. test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x80000 + SIZEOF_HEADERS" test -z "$ENTRY" && ENTRY=__start cat <