Alexandre Julliard pushed to branch master at wine / wine
Commits: a5735f4b by Brendan Shanks at 2025-04-02T10:27:39+02:00 ntdll: Remove ugly fallback method for getting a thread's GSBASE on macOS.
84760a8fb2cf9ed577c63957c5bdfc621d748a7f started using the documented Mach API method.
- - - - - 03277f2f by Brendan Shanks at 2025-04-02T10:27:43+02:00 ntdll: Ensure init_handler runs in signal handlers before any compiler-generated memset calls.
- - - - - 928eb3a9 by Brendan Shanks at 2025-04-02T10:27:43+02:00 ntdll: Don't access the TEB through %gs when using the kernel stack in x86_64 syscall dispatcher.
In preparation for switching GSBASE on macOS.
- - - - - 245e8ced by Brendan Shanks at 2025-04-02T10:27:45+02:00 ntdll: Set %rsp to be inside syscall_frame before accessing %gs in x86_64 syscall dispatcher.
If a signal occurs, is_inside_syscall() needs to return FALSE so GSBASE is reset to the TEB. In preparation for switching GSBASE on macOS.
- - - - - 3a16aabb by Brendan Shanks at 2025-04-02T10:57:18+02:00 ntdll: On macOS x86_64, swap GSBASE between the TEB and macOS TSD when entering/leaving PE code.
- - - - - 90a9078e by Brendan Shanks at 2025-04-02T11:00:59+02:00 ntdll: Remove x86_64 Mac-specific TEB access workarounds that are no longer needed.
- - - - -
3 changed files:
- dlls/ntdll/loader.c - dlls/ntdll/signal_x86_64.c - dlls/ntdll/unix/signal_x86_64.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/8e2aea6290e823d2f5023e2bff5c2f...