http://bugs.winehq.org/show_bug.cgi?id=27349
--- Comment #7 from André H. nerv@dawncrow.de 2011-06-10 12:46:18 CDT --- Created an attachment (id=35097) --> (http://bugs.winehq.org/attachment.cgi?id=35097) more DECLSPEC_HOTPATCH
When __ms_hook_prologue__ available, this moves calls to other functions and PIC code behind the first 8 Bytes where needed(only functions which have the opcode 0xE8 in the first 8 bytes). That's done here for 163 functions and i used a little app to find the bad functions.
I already sent that patch and it was rejected more or less. We can't decide on my system and compiler which function to enable hotpatch on, of course. So AJ wants tests for some specific functions to show that they are hotpatchable on windows, too.