Download TR0109 TSK3000 Embedded Tools Reference

Transcript
TSK3000 Embedded Tools Reference
.TYPE
Syntax
symbol .TYPE typeid
Description
With the .TYPE directive you set a symbol's type to the specified value in the ELF symbol table. Valid
symbol types are:
FUNC
The symbol is associated with a function or other executable code.
OBJECT
The symbol is associated with an object such as a variable, an array, or a structure.
FILE
The symbol name represents the filename of the compilation unit.
Labels in code sections have the default type FUNC. Labels in data sections have the default type
OBJECT.
Example
Afunc:
.TYPE
FUNC
Related information
.SIZE (Set Symbol Size)
3-40