8.3.3 Defsym Option
The --defsym
sym=expr
option defines a symbol.
This option creates a global symbol in the output file, containing the
absolute address given by expr
. You may
use this option as many times as necessary to define multiple symbols in the command line.
A limited form of arithmetic is supported for the expr
in this context: you may give a hexadecimal constant or the
name of an existing symbol, or use +
and -
to add or
subtract hexadecimal constants or symbols.
Note: There should be no white space between
sym
, the equals sign (=
) and
expr
.