[fpc-pascal] Shared Object Libraries non-PIC

Jonas Maebe jonas at zeus.ugent.be
Mon Jul 18 21:21:47 CEST 2005


On 17 Jul 2005, at 01:34, L505 wrote:

> How does the calling program know that it's not PIC (position  
> independant code)?

The linker can find this out while loading the dynamic library (if  
there are relocation entries in text sections, then it's no PIC). You  
should not have to do anything special yourself.


Jonas




More information about the fpc-pascal mailing list