Re:32-bit x86 Position Independent Code – It's That Bad
by hyc_symas on Wednesday April 15, 2015 @11:28PM
(#9385743)
Hm, you may be right that nothing in C requires it. But things like POSIX pthreads do - e.g. pthread_attr_setstack() only lets you set a single stack address and size.
So yes, you'd have to create a new runtime from the ground up, not just a new ABI for an existing API.
Of course being an ABI issue, probably makes it really hard to solve, and hence hacky solutions abound. (actually its probably pretty easy to solve given LLVM, just impossible to get anyone to accept).