-fPIC
Petter Wahlman
pwa@norman.no
Mon Aug 20 00:00:00 GMT 2001
hi!
position independent code (PIC) uses the ebx register to store the address of
the
global offset table (GOT), this register should thus be used with caution.
i belive you'r code references ebx with the "...: "b" (b).." expression.
shared libraries are genarally marginally slower than statically linked libs
because the linker has to dynamically evaluate procedure linkage table entries
(PLT),
and modify the global table offset's memory image accordingly (unless the
LD_BIND_NOW
environment variable is set).
regards
Petter Wahlman
More information about the Gcc-help
mailing list