[fpc-devel] darwin indirect symbols
dmitry boyarintsev
skalogryz.lists at gmail.com
Tue Nov 10 08:35:04 CET 2009
Hello Jonas,
There're 2 ways to define indirect symbol by the compiler:
tai_const with type aitconst_indirect_symbol
or
tai_directive with asd_indirect_symbol
either way produces identical assembler output:
.indirect_symbol %symbol_name
So i'm wondering, what was the reason to separate them the same?
I know, that tai_const returns a size of the constant, while
tai_directive doesn't. Is there anything else?
Neither aitconst_indirect_symbol nor asd_indirect_symbol are currently
handled by TInternalAssembler.
I've modified assembler's loop so it adds additional information to
the TObjSymbol.
It's not a problem to handle both ways of declaring indirect symbols,
i'm just curious.
thanks,
dmitry
More information about the fpc-devel
mailing list