Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/compat/arch/alpha/gen Load the magic into the right...



details:   https://anonhg.NetBSD.org/src/rev/bdb19376d236
branches:  trunk
changeset: 793018:bdb19376d236
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 24 10:19:18 2014 +0000

description:
Load the magic into the right register for the comparison in _longjmp

diffstat:

 lib/libc/compat/arch/alpha/gen/compat__setjmp.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e0c5d5d385b0 -r bdb19376d236 lib/libc/compat/arch/alpha/gen/compat__setjmp.S
--- a/lib/libc/compat/arch/alpha/gen/compat__setjmp.S   Fri Jan 24 08:26:39 2014 +0000
+++ b/lib/libc/compat/arch/alpha/gen/compat__setjmp.S   Fri Jan 24 10:19:18 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat__setjmp.S,v 1.3 2014/01/24 00:20:54 christos Exp $ */
+/* $NetBSD: compat__setjmp.S,v 1.4 2014/01/24 10:19:18 skrll Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -90,7 +90,7 @@
 LEAF(_longjmp, 2)
        LDGP(pv)
        ldq     t0, ((31 + 4) * 8)(a0)          /* magic in sc_regs[31] */
-       ldq     t0, magic                       /* sigcontext magic number */
+       ldq     t1, magic                       /* sigcontext magic number */
        cmpeq   t0, t1, t0
        beq     t0, botch                       /* If the magic was bad, punt */
 



Home | Main Index | Thread Index | Old Index