| 1 | # This file is sourced by the genscripts.sh script.
|
|---|
| 2 | # These are shell variables that are used later by either genscripts
|
|---|
| 3 | # or on of the scripts that it sources.
|
|---|
| 4 |
|
|---|
| 5 | # The name of the scripttempl script to use. In this case, genscripts
|
|---|
| 6 | # uses scripttempl/tic80coff.sc
|
|---|
| 7 | #
|
|---|
| 8 | SCRIPT_NAME=tic80coff
|
|---|
| 9 |
|
|---|
| 10 | # The name of the emultempl script to use. If set to "template" then
|
|---|
| 11 | # genscripts.sh will use the script emultempl/template.em. If not set,
|
|---|
| 12 | # then the default value is "generic".
|
|---|
| 13 | #
|
|---|
| 14 | # TEMPLATE_NAME=
|
|---|
| 15 |
|
|---|
| 16 | # If this is set to an nonempty string, genscripts.sh will invoke the
|
|---|
| 17 | # scripttempl script an extra time to create a shared library script.
|
|---|
| 18 | #
|
|---|
| 19 | # GENERATE_SHLIB_SCRIPT=
|
|---|
| 20 |
|
|---|
| 21 | # The BFD output format to use. The scripttempl script will use it in
|
|---|
| 22 | # an OUTPUT_FORMAT expression in the linker script.
|
|---|
| 23 | #
|
|---|
| 24 | OUTPUT_FORMAT="coff-tic80"
|
|---|
| 25 |
|
|---|
| 26 | # This is normally set to indicate the architecture to use, such as
|
|---|
| 27 | # "sparc". The scripttempl script will normally use it in an OUTPUT_ARCH
|
|---|
| 28 | # expression in the linker script.
|
|---|
| 29 | #
|
|---|
| 30 | ARCH=tic80
|
|---|
| 31 |
|
|---|
| 32 | # Some scripttempl scripts use this to set the entry address in an ENTRY
|
|---|
| 33 | # expression in the linker script.
|
|---|
| 34 | #
|
|---|
| 35 | # ENTRY=
|
|---|
| 36 |
|
|---|
| 37 | # The scripttempl script uses this to set the start address of the
|
|---|
| 38 | # ".text" section.
|
|---|
| 39 | #
|
|---|
| 40 | TEXT_START_ADDR=0x2000000
|
|---|
| 41 |
|
|---|
| 42 | # If this is defined, the genscripts.sh script sets TEXT_START_ADDR to
|
|---|
| 43 | # its value before running the scripttempl script for the -n and -N
|
|---|
| 44 | # options.
|
|---|
| 45 | #
|
|---|
| 46 | # NONPAGED_TEXT_START_ADDR=
|
|---|
| 47 |
|
|---|
| 48 | # The genscripts.sh script uses this to set the default value of
|
|---|
| 49 | # DATA_ALIGNMENT when running the scripttempl script.
|
|---|
| 50 | #
|
|---|
| 51 | # SEGMENT_SIZE=
|
|---|
| 52 |
|
|---|
| 53 | # If SEGMENT_SIZE is not defined, the genscripts.sh script uses this
|
|---|
| 54 | # to define it.
|
|---|
| 55 | #
|
|---|
| 56 | TARGET_PAGE_SIZE=0x1000
|
|---|