This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
defining a symbol only for calculations
- From: Guilherme Destefani <gd at helixbrasil dot com dot br>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Mon, 28 Jun 2004 17:18:32 -0300
- Subject: defining a symbol only for calculations
Hello,
In a linker script, it is possible to define variables and use them in
calculations, like
VAR = ABSOLUTE(.);
and
LONG(VAR);
Those variables are always added to the symbol table on the ELF file
(.symtab).
It is possible to define variables without adding them to the symbol
table, just for temporary use?
Thanks in advance,
--
Guilherme Destefani
Computer Engineer
Helix S.A.
gd _at_ helixbrasil _dot_ com _dot_ br
Brazil - Parana - Curitiba
(+5541) 362-1313