[glibc/release/2.44/master] hurd: fix fork's longjmp demangling on i386

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

commit c045fc61e8435c103ebfe06d01fec7f56503e2b4
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);
 }