[hurd,commited] hurd: fix fork's longjmp demangling on i386
Samuel Thibault
samuel.thibault@ens-lyon.org
Sun Jul 26 23:02:33 GMT 2026
i386's setjmp does not actually mangle ebp.
---
sysdeps/mach/hurd/i386/longjmp-ts.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sysdeps/mach/hurd/i386/longjmp-ts.c b/sysdeps/mach/hurd/i386/longjmp-ts.c
index 93450e86b4..340104b832 100644
--- a/sysdeps/mach/hurd/i386/longjmp-ts.c
+++ b/sysdeps/mach/hurd/i386/longjmp-ts.c
@@ -38,7 +38,6 @@ _hurd_longjmp_thread_state (void *state, jmp_buf env, int val)
ts->eip = env[0].__jmpbuf[JB_PC];
ts->eax = val ?: 1;
- PTR_DEMANGLE (ts->ebp);
PTR_DEMANGLE (ts->uesp);
PTR_DEMANGLE (ts->eip);
}
--
2.53.0
More information about the Libc-alpha
mailing list