https://bugs.winehq.org/show_bug.cgi?id=48861
qsniyg qsniyg@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |qsniyg@mail.com
--- Comment #2 from qsniyg qsniyg@mail.com --- On my system (GCC 10.2.0) it looks to me like the asm isn't required after applying the other changes:
32-bit:
7b04dd60 _GetCommandLineA@0: 7b04dd60: a1 08 cc 0a 7b mov 0x7b0acc08,%eax 7b04dd65: c3 ret 7b04dd66: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 7b04dd6d: 8d 76 00 lea 0x0(%esi),%esi
7b04dd70 _GetCommandLineW@0: 7b04dd70: a1 04 cc 0a 7b mov 0x7b0acc04,%eax 7b04dd75: c3 ret 7b04dd76: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 7b04dd7d: 8d 76 00 lea 0x0(%esi),%esi
64-bit:
000000007b04fe40 <GetCommandLineA>: 7b04fe40: 48 8b 05 09 a9 05 00 mov 0x5a909(%rip),%rax # 7b0aa750 <command_lineA> 7b04fe47: c3 retq 7b04fe48: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 7b04fe4f: 00
000000007b04fe50 <GetCommandLineW>: 7b04fe50: 48 8b 05 f1 a8 05 00 mov 0x5a8f1(%rip),%rax # 7b0aa748 <command_lineW> 7b04fe57: c3 retq 7b04fe58: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
Perhaps this is due to the move to PE?