summaryrefslogtreecommitdiff
path: root/ld/emulparams/tic80coff.sh
blob: 70703231fd5d90d406d53c8b4bc9a6090585b15a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This file is sourced by the genscripts.sh script.
# These are shell variables that are used later by either genscripts
# or on of the scripts that it sources.

# The name of the scripttempl script to use.  In this case, genscripts
# uses scripttempl/tic80coff.sc
#
SCRIPT_NAME=tic80coff

# The name of the emultempl script to use.  If set to "template" then
# genscripts.sh will use the script emultempl/template.em.  If not set,
# then the default value is "generic".
#
# TEMPLATE_NAME=

# If this is set to an nonempty string, genscripts.sh will invoke the
# scripttempl script an extra time to create a shared library script.
#
# GENERATE_SHLIB_SCRIPT=

# The BFD output format to use.  The scripttempl script will use it in
# an OUTPUT_FORMAT expression in the linker script.
#
OUTPUT_FORMAT="coff-tic80"

# This is normally set to indicate the architecture to use, such as
# "sparc".  The scripttempl script will normally use it in an OUTPUT_ARCH
# expression in the linker script.
#
ARCH=tic80

# Some scripttempl scripts use this to set the entry address in an ENTRY
# expression in the linker script.
#
# ENTRY=

# The scripttempl script uses this to set the start address of the
# ".text" section.
#
TEXT_START_ADDR=0x2000000

# If this is defined, the genscripts.sh script sets TEXT_START_ADDR to
# its value before running the scripttempl script for the -n and -N
# options.
#
# NONPAGED_TEXT_START_ADDR=

# The genscripts.sh script uses this to set the default value of 
# DATA_ALIGNMENT when running the scripttempl script.
#
# SEGMENT_SIZE=

# If SEGMENT_SIZE is not defined, the genscripts.sh script uses this
# to define it.
#
TARGET_PAGE_SIZE=0x1000