Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sh5/sys Use r4 to preserve the filedes pointer...
details: https://anonhg.NetBSD.org/src/rev/94cb3bdfea7f
branches: trunk
changeset: 536034:94cb3bdfea7f
user: scw <scw%NetBSD.org@localhost>
date: Wed Sep 04 19:19:07 2002 +0000
description:
Use r4 to preserve the filedes pointer across the syscall instead of r3.
diffstat:
lib/libc/arch/sh5/sys/pipe.S | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r ebd5b69561ea -r 94cb3bdfea7f lib/libc/arch/sh5/sys/pipe.S
--- a/lib/libc/arch/sh5/sys/pipe.S Wed Sep 04 19:13:00 2002 +0000
+++ b/lib/libc/arch/sh5/sys/pipe.S Wed Sep 04 19:19:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pipe.S,v 1.2 2002/07/10 11:02:25 scw Exp $ */
+/* $NetBSD: pipe.S,v 1.3 2002/09/04 19:19:07 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -78,7 +78,7 @@
#if 0
RCSID("from: @(#)pipe.s 5.1 (Berkeley) 5/12/90")
#else
- RCSID("$NetBSD: pipe.S,v 1.2 2002/07/10 11:02:25 scw Exp $")
+ RCSID("$NetBSD: pipe.S,v 1.3 2002/09/04 19:19:07 scw Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -87,10 +87,10 @@
#endif
ENTRY(_pipe)
- or r2, r63, r3 /* Preserve arg across syscall */
+ or r2, r63, r4 /* Preserve arg across syscall */
SYSCALL(pipe)
ptabs/l r18, tr0
- st.l r3, 0, r2 /* Store fd#1 */
+ st.l r4, 0, r2 /* Store fd#1 */
movi 0, r2
- st.l r3, 4, r3 /* Store fd#2 */
+ st.l r4, 4, r3 /* Store fd#2 */
blink tr0, r63
Home |
Main Index |
Thread Index |
Old Index