[fpc-pascal] Firebird +lin32 + fpc lib udf returns garbage.

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jun 1 12:42:37 CEST 2009


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



More information about the fpc-pascal mailing list