Module Name: src
Committed By: matt
Date: Fri Apr 30 16:23:23 UTC 2010
Modified Files:
src/lib/libc/arch/mips/gen [matt-nb5-mips64]: longjmp.c
Log Message:
Semantic change: Use _REG_x with gregs, no binary difference
To generate a diff of this commit:
cvs rdiff -u -r1.2.14.1 -r1.2.14.2 src/lib/libc/arch/mips/gen/longjmp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/mips/gen/longjmp.c
diff -u src/lib/libc/arch/mips/gen/longjmp.c:1.2.14.1 src/lib/libc/arch/mips/gen/longjmp.c:1.2.14.2
--- src/lib/libc/arch/mips/gen/longjmp.c:1.2.14.1 Fri Apr 30 14:27:46 2010
+++ src/lib/libc/arch/mips/gen/longjmp.c Fri Apr 30 16:23:23 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: longjmp.c,v 1.2.14.1 2010/04/30 14:27:46 matt Exp $ */
+/* $NetBSD: longjmp.c,v 1.2.14.2 2010/04/30 16:23:23 matt Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
uc.uc_link = 0;
/* Save return value in context */
- uc.uc_mcontext.__gregs[_R_V0] = val;
+ uc.uc_mcontext.__gregs[_REG_V0] = val;
/* Copy saved registers */
uc.uc_mcontext.__gregs[_REG_S0] = sc->sc_regs[_R_S0];