http://bugs.winehq.org/show_bug.cgi?id=10273
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2007-11-06 16:20:44 --- (In reply to comment #18)
So if wine could make default thunks/entry code with just enough no-op opcode padding before jumping to real thing we can keep -fPIC.
We don't have thunks for normal entry points, so there's nowhere to put the nops, they would have to be generated directly by gcc.
But with proper use of the ELF visibility attribute it should be possible to prevent gcc from loading the PIC register at least on simple functions, I'm looking into that.