Alexandre Julliard pushed to branch master at wine / wine
Commits: 0291c9f9 by Brendan Shanks at 2024-07-31T21:06:48+02:00 include: Ensure that x86_64 syscall thunks have a consistent length when built with Clang.
GCC always assembles 'jmp 1f' to 'eb 01', as does Clang when using -O1 or higher optimization. But with -O0, Clang outputs 'e9 01 00 00 00'.
The 'subq $0xb,0x70(%rcx)' line in __wine_syscall_dispatcher relies on 'jmp 1f' being 2 bytes.
Based on patch by Alex S.
- - - - -
1 changed file:
- include/wine/asm.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/0291c9f9fb5d759a6b464cbb55ba3de...