defining a symbol only for calculations

Guilherme Destefani gd@helixbrasil.com.br
Mon Jun 28 20:19:00 GMT 2004


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



More information about the Binutils mailing list