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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to