[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fftw3 non-pic k7 optimisations

* Henrique de Moraes Holschuh:

> Just a small question: does the system KNOW an object compiled with
> -fPIC but which contains non-PIC code must be treated as a non-PIC
> object?

On x86, the dynamic linker can perform the necessary relocations when
a DSO is loaded which contains position-dependent code.  On other
architectures, this is different, but I expect the PIC penality to be
smaller (thanks to more registers or IP-relative addressing).

Reply to: