[glibc] hurd: fix fork's longjmp demangling on i386

Samuel Thibault via Glibc-cvs <[email protected]> Sun, 26 Jul 2026 23:02:28 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=29dadb8eee6dac6465a13b818c75b550dd51b945

commit 29dadb8eee6dac6465a13b818c75b550dd51b945
Author: Samuel Thibault <[email protected]>
Date:   Mon Jul 27 00:59:36 2026 +0200

    hurd: fix fork's longjmp demangling on i386
    
    i386's setjmp does not actually mangle ebp.

Diff:
---
 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);
 }