[PATCH] include: Always enable DECLSPEC_HOTPATCH for explicitly stdcall functions.

Stefan Dösinger stefandoesinger at gmail.com
Mon Jul 2 09:47:29 CDT 2018



> Am 02.07.2018 um 16:43 schrieb Alex Henrie <alexhenrie24 at gmail.com>:
> 
> In that case, I think we want to just add
> __attribute__((__ms_hook_prologue__)) if the GCC version is >= 4.6.
Does gcc's configure script still depend on movl.s support in GNU as to enable __ms_hook_prologue__ support? I wrote it this way at the time because I made gcc explicitly generate "movl.s" instructions. Those were later replaced by hardcoded byte values ("emit .byte 0x8b 0xff" or so). Thus gcc does not strictly need movl.s support any more, but I think the check in ./configure was not removed.

Long story short, a gcc 7.3 built on OSX might not have __ms_hook_prologue__ support.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180702/0af8d544/attachment.html>


More information about the wine-devel mailing list