https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124027

--- Comment #1 from Pali Rohár <pali at kernel dot org> ---
As for Linux/ELF is gcc already generating correct position independent code,
it seems that there is just missing case or enabling it for Windows/COFF too to
generate it.

Do you know where gcc decides how to generate such 32-bit x86 code based on the
target platform? I would like to look at it, if it would not be easy step to
enable it for COFF too based on my written above pattern.

Reply via email to