
C h a p t e r 1 1
Cross Linker
What the Cross Linker Does
The cross linker HLINK, creates task programs from the object files
generated by the Cross Assembler, the HASM or the Holtek C compiler.
HLINK combines both code and data in the object files and searches the
named libraries to resolve external references to routines and variables. It
also locates the code and data sections at the specified memory address or
at the default address, if no explicit address is specified. Finally, the HLINK
copies both the program codes and other information to the task file. It is
this task file that is loaded by the HT-IDE Holtek Integrated Development
Environment, into the Holtek HT-ICE In-Circuit Emulator, for debugging.
The libraries included by HLINK were generated by the HLIB library
manager.
Cross Linker Options
The options specify and control the tasks performed by HLINK. In chapter
3, Option Menu, Project command provides a dialog box, Linker Options, to
specify these options to the HLINK. These options are:
Libraries
•
Syntax
libfile1[,libfile2...]
This option informs the HLINK to search the specified library files if the
input object files refer to a procedure or variable which is not defined in
any of the object files. If a module of a library file contains the referred
procedure or variable, then only this module, not the whole library file
will be included in the output task file. (refer to Chapter 12 Library
Manager)
11
Chapter 11 Cross Linker
135
Содержание HT-IDE
Страница 11: ...P a r t I Integrated Development Environment Part I Integrated Development Environment 1 ...
Страница 12: ...HT IDE User s Guide 2 ...
Страница 20: ...Fig 1 6 Fig 1 7 HT IDE User s Guide 10 ...
Страница 24: ...HT IDE User s Guide 14 ...
Страница 70: ...HT IDE User s Guide 60 ...
Страница 76: ...HT IDE User s Guide 66 ...
Страница 92: ...HT IDE User s Guide 82 ...
Страница 93: ...P a r t I I Development Language and Tools Part II Development Language and Tools 83 ...
Страница 94: ...HT IDE User s Guide 84 ...
Страница 148: ...HT IDE User s Guide 138 ...
Страница 150: ...Fig 12 1 Fig 12 2 HT IDE User s Guide 140 ...
Страница 154: ...HT IDE User s Guide 144 ...
Страница 192: ...HT IDE User s Guide 182 ...
Страница 194: ...HT IDE User s Guide 184 ...
Страница 218: ...HT IDE User s Guide 208 ...
Страница 235: ...P a r t V Appendix Part V Appendix 225 ...
Страница 236: ...HT IDE User s Guide 226 ...
Страница 250: ...HT IDE User s Guide 240 ...