This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]