public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Make trampoline fill siginfo ss_sp from sc_uesp
@ 2020-12-21  2:37 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2020-12-21  2:37 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e0aec6c83374286ffac44ee1b0e628894b7102e3

commit e0aec6c83374286ffac44ee1b0e628894b7102e3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Dec 21 03:15:38 2020 +0100

    hurd: Make trampoline fill siginfo ss_sp from sc_uesp
    
    Mach actually rather fills the uesp field, not esp.

Diff:
---
 sysdeps/mach/hurd/i386/trampoline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/i386/trampoline.c b/sysdeps/mach/hurd/i386/trampoline.c
index 4a9cab1332..1777d0769d 100644
--- a/sysdeps/mach/hurd/i386/trampoline.c
+++ b/sysdeps/mach/hurd/i386/trampoline.c
@@ -63,7 +63,7 @@ static void fill_ucontext (ucontext_t *uc, const struct sigcontext *sc)
   uc->uc_flags = 0;
   uc->uc_link = NULL;
   uc->uc_sigmask = sc->sc_mask;
-  uc->uc_stack.ss_sp = (__ptr_t) sc->sc_esp;
+  uc->uc_stack.ss_sp = (__ptr_t) sc->sc_uesp;
   uc->uc_stack.ss_size = 0;
   uc->uc_stack.ss_flags = 0;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-21  2:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21  2:37 [glibc] hurd: Make trampoline fill siginfo ss_sp from sc_uesp Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).