Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so/arch/vax Add proper registers for register...



details:   https://anonhg.NetBSD.org/src/rev/c607cdef898c
branches:  trunk
changeset: 331633:c607cdef898c
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 17 16:57:37 2014 +0000

description:
Add proper registers for register counts.

diffstat:

 libexec/ld.elf_so/arch/vax/rtld_start.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3fe3b88d5cf5 -r c607cdef898c libexec/ld.elf_so/arch/vax/rtld_start.S
--- a/libexec/ld.elf_so/arch/vax/rtld_start.S   Sun Aug 17 16:25:21 2014 +0000
+++ b/libexec/ld.elf_so/arch/vax/rtld_start.S   Sun Aug 17 16:57:37 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld_start.S,v 1.23 2014/08/17 16:14:19 matt Exp $     */
+/*     $NetBSD: rtld_start.S,v 1.24 2014/08/17 16:57:37 matt Exp $     */
 
 /*
  * Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -152,7 +152,7 @@
        extzv   %r2,$4,%r3,%r5  /* extract count */
        movq    4(%fp),%r2      /* fetch callframe status & saved AP */
        insv    %r1,$16,$12,%r2 /* update save mask */
-       addl3   %r3,%r4,%r1     /* add counts and discard them */
+       addl3   %r4,%r5,%r1     /* add counts and discard them */
        movq    12(%fp),%r4     /* fetch callframe saved FP & PC */
        moval   20(%fp)[%r1],%sp/* pop callframe */
        extzv   $16,$12,%r2,%r1 /* get save mask back */



Home | Main Index | Thread Index | Old Index