shared object from object files not compiled with -fPIC - 32 vs. 64 bit

shared object from object files not compiled with -fPIC - 32 vs. 64 bit

Nadav Har'El nyh at math.technion.ac.il
Sat Mar 3 23:07:04 IST 2012


On Sat, Mar 03, 2012, Shachar Shemesh wrote about "shared object from object files not compiled with -fPIC - 32 vs. 64 bit":
> compiled with -fPIC). Still, I'm wondering why the difference. I don't
> see any hardware difference between the platforms that makes this trick
> (which, like I said, is sometimes desirable even when you have the
> source code) impossible under 64bit.

Perhaps this can help:

http://eli.thegreenplace.net/2011/11/11/position-independent-code-pic-in-shared-libraries-on-x64/

-- 
Nadav Har'El                        |                   Saturday, Mar 3 2012, 
nyh at math.technion.ac.il             |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |When everything's coming your way, you're
http://nadav.harel.org.il           |in the wrong lane.



More information about the Linux-il mailing list