diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-11-16 01:32:22 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-11-16 01:33:02 +0100 |
| commit | ce61fcf7022c5344bd8311daab312fb69506d1a7 (patch) | |
| tree | 3fde16217c23b3686e5b711d89799f11ccb402b4 /sysdeps | |
| parent | 9f18265a8ec8ab8fc8f1483e99c1b2ea0df4a94c (diff) | |
hurd: Fix restoring SSE state on signal
mach_port_mod_refs() needs to avoid using SSE&MMX for __sigreturn2 to be
able to use it without thrashing SSE&MMX.
Diffstat (limited to 'sysdeps')
| -rw-r--r-- | sysdeps/mach/hurd/x86/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/x86/Makefile b/sysdeps/mach/hurd/x86/Makefile index 29371f6c9a..27c4b06590 100644 --- a/sysdeps/mach/hurd/x86/Makefile +++ b/sysdeps/mach/hurd/x86/Makefile @@ -14,3 +14,8 @@ endif ifeq ($(subdir),stdlib) gen-as-const-headers += ucontext_i.sym endif + +ifeq ($(subdir),mach) +# Avoid SSE&MMX to avoid __sigreturn2 thrashing it +CFLAGS-RPC_mach_port_mod_refs.c = -mno-sse -mno-mmx +endif |
