10-16
ZSP Integrated Development Environment (ZSP IDE)
For archive and object files, you may invoke a file browser to select the
files by selecting the appropriate “Add” command button. Likewise,
remove a file from the list by selecting it with the mouse and then
selecting the “Remove” command button.
Table 10.2
Linker options
Option (Command Line Equivalent)
Description
Entry Point (-e)
This option specifies a symbol for beginning execu-
tion of the program. The default entry point is __start.
Enter the symbol in the text box.
Locate Stack (__stack_start)
This entry defines the symbol __stack_start for the
Linker to explicitly locate the program stack.
Define symbols (-defsym)
Creates a symbol in the output file containing the
absolute address specified by the expression. Enter
the symbol and the expression in the text box, using
the following syntax: symbol=expression. Note that
spaces are not allowed next to the ‘=’ sign.
Code Section(-Ttext)
This entry specifies the starting address for the text
segment of the output file. Default value is 0x0
Data Section (-Tdata)
This entry specifies the starting address of the data
segment of the output file. Default value is 0x0.
Data Section (-Tbss)
This entry specifies the starting address of the unini-
tialized data segment of the output file. Default value
is 0x0.
Link Script
This entry specifies a filename to be used as a Linker
Command File. Filename extension must not conflict
with source / object file name extensions.
Object Files
Specifies external object files to be linked with the
project’s object files. Select Add button to select new
object files from a File Selection Dialog box. To
remove an object file from the list, select the entry
with the mouse and then select Remove.
Archive files List Box (-L)
Specifies external archive files to be linked with the
project’s object files. Select Add button to select new
archive files from a File Selection Dialog box. To
remove an archive file from the list, select the entry
with the mouse and then select Remove.
Additional options
This entry specifies any linker options that do not
have a check box in the Linker options tab. Separate
multiple options with spaces.