On 01 Jun 2009, at 12:30, Jonas Maebe wrote:

On 01 Jun 2009, at 11:40, Coco Pascal wrote:

It looks as if the code isn't executed at all. Maybe Firebird requires PIC.

That is extremely unlikely (I'd say "impossible", but that's dangerous). Whether or not the code in the library is position- independent is something Firebird has no clue about (unless it starts disassembling the library and/or reading the relocation information).

Not to mention that it would make no difference for the function you posted, since it does not refer to any other code nor to global data.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to