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.
This commit is contained in:
Samuel Thibault 2025-11-16 01:32:22 +01:00
parent 9f18265a8e
commit ce61fcf702
1 changed files with 5 additions and 0 deletions

View File

@ -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