https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124027
Pali Rohár <pali at kernel dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #64284|0 |1
is obsolete| |
--- Comment #10 from Pali Rohár <pali at kernel dot org> ---
Created attachment 65389
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65389&action=edit
PE-COFF i386 -fpic support (v2)
In the attachment is new version of the change, which fixes the -O2 generated
code (the label is not moved). I have figured out that the code for generating
that required label is already present in gcc but was enabled only for
TARGET_MACHO. So it was just needed to enable and use it for i386 PE/COFF.