Andrey Rahmatullin <[email protected]> writes:

> Text relocations are forbidden at least on amd64 though.
> https://stackoverflow.com/questions/7865059/why-does-gcc-force-pic-for-x64-shared-libs

Yeah, but I believe not on i386.

This is really a very 32-bit, x86-specific problem.  (Even other 32-bit
architectures tend not to be as register-starved and therefore don't make
this trade-off.)

Hopefully this problem will eventually go away when 32-bit x86 goes away,
although there are so many 32-bit x86 systems out there that it may take a
while.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>

Reply via email to