EL> Please note, that "asmname" is deprecated.
Yes, but I'm forced to use it for ARM compilations because recent version of GPC doesn't function very well (I can't compile it together with arm-elf toolchain).
EL> where FOO_CONST is defined somewhere else.
EL> var EL> MyFoo: Integer; attribute (name='foo') ; external; EL> (untested)
So, it's possible using variables only. Ok, thank you!