Message ID | 20230517191436.73636-4-bugaevc@gmail.com |
---|---|
State | New |
Headers | show |
Series | Stack setup & misc fixes for x86_64-gnu | expand |
Applied, thanks! Sergey Bugaev via Libc-alpha, le mer. 17 mai 2023 22:14:29 +0300, a ecrit: > Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> > --- > hurd/hurdfault.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hurd/hurdfault.c b/hurd/hurdfault.c > index 4340897d..dae889a9 100644 > --- a/hurd/hurdfault.c > +++ b/hurd/hurdfault.c > @@ -205,8 +205,8 @@ _hurdsig_fault_init (void) > It runs the function above. */ > memset (&state, 0, sizeof state); > MACHINE_THREAD_STATE_FIX_NEW (&state); > - MACHINE_THREAD_STATE_SET_PC (&state, faulted); > - MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack); > + MACHINE_THREAD_STATE_SETUP_CALL (&state, faultstack, > + sizeof faultstack, faulted); > > err = __USEPORT > (PROC, > -- > 2.40.1 >
diff --git a/hurd/hurdfault.c b/hurd/hurdfault.c index 4340897d..dae889a9 100644 --- a/hurd/hurdfault.c +++ b/hurd/hurdfault.c @@ -205,8 +205,8 @@ _hurdsig_fault_init (void) It runs the function above. */ memset (&state, 0, sizeof state); MACHINE_THREAD_STATE_FIX_NEW (&state); - MACHINE_THREAD_STATE_SET_PC (&state, faulted); - MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack); + MACHINE_THREAD_STATE_SETUP_CALL (&state, faultstack, + sizeof faultstack, faulted); err = __USEPORT (PROC,
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> --- hurd/hurdfault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)