From: Roland McGrath Date: Thu, 17 Aug 1995 09:00:05 +0000 (+0000) Subject: Wed Aug 16 17:04:26 1995 Roland McGrath X-Git-Tag: upstream/2.20~22933 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=191abc516c6f0ecd02f84ec98994b223252b48d7;p=platform%2Fupstream%2Flinaro-glibc.git Wed Aug 16 17:04:26 1995 Roland McGrath * hurd/intr-msg.c: Fixed calculation of syscall %esp. Tue Aug 15 12:26:18 1995 Roland McGrath * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. * hurd/Makefile (sig): Add intr-msg. --- diff --git a/ChangeLog b/ChangeLog index ff8389b..27b84ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Wed Aug 16 17:04:26 1995 Roland McGrath + + * hurd/intr-msg.c: Fixed calculation of syscall %esp. + +Tue Aug 15 12:26:18 1995 Roland McGrath + + * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. + + * hurd/Makefile (sig): Add intr-msg. + Mon Aug 14 16:51:13 1995 Roland McGrath * hurd/thread-cancel.c: New file. diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 7dd2b8c..10dbceb 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -267,7 +267,7 @@ interrupted_reply_port_location (struct machine_thread_all_state *thread_state, *STATE_CHANGE is set nonzero if STATE->basic was modified and should be applied back to the thread if it might ever run again, else zero. */ -static mach_port_t +mach_port_t _hurdsig_abort_rpcs (struct hurd_sigstate *ss, int signo, int sigthread, struct machine_thread_all_state *state, int *state_change, mach_port_t *reply_port, diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c index cdcd8d5..6f670b5 100644 --- a/hurd/intr-msg.c +++ b/hurd/intr-msg.c @@ -66,7 +66,7 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg, " movl $-25, %%eax\n" "_hurd_intr_rpc_msg_do_trap: lcall $7, $0 # status in %0\n" "_hurd_intr_rpc_msg_in_trap: movl %%ecx, %%esp" - : "=a" (err) : "m" ((&msg)[1]) : "%ecx"); + : "=a" (err) : "m" ((&msg)[-1]) : "%ecx"); switch (err) {