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 Save actual start of function, no...



details:   https://anonhg.NetBSD.org/src/rev/a1ee61956759
branches:  trunk
changeset: 327878:a1ee61956759
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Mar 19 21:52:00 2014 +0000

description:
Save actual start of function, not address of entry mask on the stack.

diffstat:

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

diffs (18 lines):

diff -r 7e927a12f4c5 -r a1ee61956759 libexec/ld.elf_so/arch/vax/rtld_start.S
--- a/libexec/ld.elf_so/arch/vax/rtld_start.S   Wed Mar 19 21:15:45 2014 +0000
+++ b/libexec/ld.elf_so/arch/vax/rtld_start.S   Wed Mar 19 21:52:00 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld_start.S,v 1.19 2014/03/19 15:34:30 matt Exp $     */
+/*     $NetBSD: rtld_start.S,v 1.20 2014/03/19 21:52:00 joerg Exp $    */
 
 /*
  * Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -76,7 +76,7 @@
        extzv   $0,$12,6(%fp),%r2       /* get saved mask */
        cmpw    %r1,%r2         /* compare them */
        bneq    12f             /* if they are different, rebuild */
-       movl    %r0,-4(%fp)     /* save routine address */
+       movl    %r3,-4(%fp)     /* save routine address */
        popr    $0x3f           /* pop registers */
        movab   68(%sp),%sp     /* restore sp */
        rsb                     /* and jump to it */



Home | Main Index | Thread Index | Old Index