https://bugs.winehq.org/show_bug.cgi?id=52736
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- (In reply to Fabian Maurer from comment #5)
Does it help if you add DECLSPEC_HOTPATCH to these methods enstead?
Doesn't help, no. On a side note, I thought DECLSPEC_HOTPATCH wasn't needed anymore due to -fno-PIC?
Not exactly. Many applications tried to patch the first few bytes of a function, using engines that could recognize many different x86 instructions but couldn't handle GOT loads, and so would be fixed by either one. But some applications choked on GOT loads past the first five bytes (so they really do need -fno-PIC), and some applications really do expect the verbatim hotpatch prefix (so they really do need DECLSPEC_HOTPATCH).