Module Name: src
Committed By: joerg
Date: Wed Mar 19 21:52:00 UTC 2014
Modified Files:
src/libexec/ld.elf_so/arch/vax: rtld_start.S
Log Message:
Save actual start of function, not address of entry mask on the stack.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/libexec/ld.elf_so/arch/vax/rtld_start.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/arch/vax/rtld_start.S
diff -u src/libexec/ld.elf_so/arch/vax/rtld_start.S:1.19 src/libexec/ld.elf_so/arch/vax/rtld_start.S:1.20
--- src/libexec/ld.elf_so/arch/vax/rtld_start.S:1.19 Wed Mar 19 15:34:30 2014
+++ src/libexec/ld.elf_so/arch/vax/rtld_start.S Wed Mar 19 21:52:00 2014
@@ -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 <[email protected]>
@@ -76,7 +76,7 @@ ALTENTRY(_rtld_bind_start)
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 */