http://bugs.winehq.org/show_bug.cgi?id=27349
--- Comment #2 from Anastasius Focht focht@gmx.net 2011-06-01 04:35:05 CDT --- Hello,
well those 2 extra opcode bytes on entry would certainly improve stats for user32. Though it won't help people stuck on distros shipping gcc without hotpatch support.
One could make a script to determine if DECLSPEC_HOTPATCH actually makes sense for a function, e.g. moving the PIC load code (call) beyond the 8 bytes barrier (for certain types of functions it doesn't).
If you plan to decorate a significant amount of user32 exports I'll just wait for patches and gather new statistics thereafter.
Regards