about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-08-17 09:00:05 +0000
committerRoland McGrath <roland@gnu.org>1995-08-17 09:00:05 +0000
commit191abc516c6f0ecd02f84ec98994b223252b48d7 (patch)
tree0e6b8044ad0fdd69692cd6511c36f903e1d0e75b
parent2f85f8807d39be6b9009d09c0881b8c7c5f7e6f4 (diff)
downloadglibc-191abc516c6f0ecd02f84ec98994b223252b48d7.tar.gz
glibc-191abc516c6f0ecd02f84ec98994b223252b48d7.tar.xz
glibc-191abc516c6f0ecd02f84ec98994b223252b48d7.zip
Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* hurd/intr-msg.c: Fixed calculation of syscall %esp.

Tue Aug 15 12:26:18 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.

	* hurd/Makefile (sig): Add intr-msg.
-rw-r--r--ChangeLog10
-rw-r--r--hurd/hurdsig.c2
-rw-r--r--hurd/intr-msg.c2
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ff8389bfd8..27b84aee7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Wed Aug 16 17:04:26 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
+
+	* hurd/intr-msg.c: Fixed calculation of syscall %esp.
+
+Tue Aug 15 12:26:18 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
+
+	* hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
+
+	* hurd/Makefile (sig): Add intr-msg.
+
 Mon Aug 14 16:51:13 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
 	* hurd/thread-cancel.c: New file.
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 7dd2b8c2fc..10dbceb4f4 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 cdcd8d51ea..6f670b538f 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)
     {