summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc64
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-08-11 18:41:18 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-08-11 18:41:18 +0000
commit7ae1406576732e93c719d29fc612ad481d1b9acb (patch)
tree418f854daf518c2dfbea4d539e42737e8ed7ee1e /libexec/ld.so/sparc64
parentcf12fd91c3ab31fc23c40794cea2a00487bda01e (diff)
The parameter dynp was never used, rather than pass in a dummy on most
archs and a nasty calcuation on others, remove the parameter.
Diffstat (limited to 'libexec/ld.so/sparc64')
-rw-r--r--libexec/ld.so/sparc64/ldasm.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.so/sparc64/ldasm.S b/libexec/ld.so/sparc64/ldasm.S
index eda57732c0e..190778e0c54 100644
--- a/libexec/ld.so/sparc64/ldasm.S
+++ b/libexec/ld.so/sparc64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.12 2002/07/12 20:18:30 drahn Exp $ */
+/* $OpenBSD: ldasm.S,v 1.13 2002/08/11 18:41:17 drahn Exp $ */
/* $NetBSD: rtld_start.S,v 1.5 2001/08/14 22:17:48 eeh Exp $ */
/*
@@ -109,18 +109,18 @@ _dl_start:
call _dl_boot_bind ! _dl_boot_bind(sp,loff,dynp,dl_data)
mov %l3, %o3
- mov %l3, %o4
+ mov %l3, %o3
ldx [%l0], %l3 ! argc = *sp
sllx %l3, 3, %l3 ! argc *= sizeof(long)
addx %l0, 8, %o0 ! argv = [sp + argc]
addx %l0, 16, %o1 ! envp = sp + 16 +
addx %o1, %l3, %o1 ! + argc
- addx %o4, (7*8), %l2
+ addx %o3, (7*8), %l2
ldx [%l2], %o2 ! loff = dl_data[AUX_base];
call _dl_boot ! _dl_boot(argv,envp,loff,dynp,dl_data)
- mov 0, %o3 ! dynp = 0
+ nop
add %sp, DL_DATA_SIZE, %sp ! restore stack
mov %l1, %g1 ! restore ps_strings