Index: ld/emulparams/tic3xcoff.sh =================================================================== RCS file: ld/emulparams/tic3xcoff.sh diff -N ld/emulparams/tic3xcoff.sh *** /dev/null 1 Jan 1970 00:00:00 -0000 --- ld/emulparams/tic3xcoff.sh 27 Aug 2002 09:08:54 -0000 *************** *** 0 **** --- 1,9 ---- + SCRIPT_NAME=tic4xcoff + OUTPUT_FORMAT="coff2-c4x" + OUTPUT_ARCH="c3x" + ARCH=c3x + #ENTRY=_c_int00 + TEXT_START_ADDR=0x0080 + TARGET_PAGE_SIZE=0x1000 + TEMPLATE_NAME=ticoff + OUTPUT_FORMAT_TEMPLATE=tic4x Index: ld/emulparams/tic4xcoff.sh =================================================================== RCS file: ld/emulparams/tic4xcoff.sh diff -N ld/emulparams/tic4xcoff.sh *** /dev/null 1 Jan 1970 00:00:00 -0000 --- ld/emulparams/tic4xcoff.sh 27 Aug 2002 09:08:54 -0000 *************** *** 0 **** --- 1,9 ---- + SCRIPT_NAME=tic4xcoff + OUTPUT_FORMAT="coff2-c4x" + OUTPUT_ARCH="c4x" + ARCH=c4x + #ENTRY=_c_int00 + TEXT_START_ADDR=0x0080 + TARGET_PAGE_SIZE=0x1000 + TEMPLATE_NAME=ticoff + OUTPUT_FORMAT_TEMPLATE=tic4x Index: ld/scripttempl/tic3xcoff.sc =================================================================== RCS file: ld/scripttempl/tic3xcoff.sc diff -N ld/scripttempl/tic3xcoff.sc *** /dev/null 1 Jan 1970 00:00:00 -0000 --- ld/scripttempl/tic3xcoff.sc 27 Aug 2002 09:08:54 -0000 *************** *** 0 **** --- 1,92 ---- + # 32 interrupt vectors + 32 trap vectors each of 4 bytes + # The .bss and .data sections need to be contiguous for direct addressing + # The data page pointer gets loaded with the start of .bss + # TI C compiler uses .cinit to initialise variables in .bss + + test -z "$ENTRY" && ENTRY=_start + # These are substituted in as variables in order to get '}' in a shell + # conditional expansion. + INIT='.init : { *(.init) }' + FINI='.fini : { *(.fini) }' + cat <