summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-10-21 16:01:56 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-10-21 16:01:56 +0000
commit298b9993cdff3d4fe4aa24d8dadb10368aafd4fa (patch)
tree2f10af6a70b6f8ebb30d90c797a622ac23309fc6 /libexec/ld.so/sparc
parent39c63dd16dadb40262e98ac651a123292d4424ca (diff)
Simplify the ld.so asm api, the data is available other ways.
tested by naddy@ and myself.
Diffstat (limited to 'libexec/ld.so/sparc')
-rw-r--r--libexec/ld.so/sparc/ldasm.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/ld.so/sparc/ldasm.S b/libexec/ld.so/sparc/ldasm.S
index 785a08b6868..ef8427a451a 100644
--- a/libexec/ld.so/sparc/ldasm.S
+++ b/libexec/ld.so/sparc/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.5 2002/08/11 18:41:17 drahn Exp $ */
+/* $OpenBSD: ldasm.S,v 1.6 2002/10/21 16:01:55 drahn Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -86,10 +86,9 @@ _dl_start:
add %sp, ARGC, %l3
add %l3, DL_DATA_SIZE, %o0
- mov 0, %o2 ! dynp = 0
mov %o0, %l0
- call _dl_boot_bind ! _dl_boot_bind(sp,loff,dynp,dl_data)
- mov %l3, %o3
+ call _dl_boot_bind ! _dl_boot_bind(sp,dl_data)
+ mov %l3, %o1
mov %l3, %o3
ld [%l0], %l3 ! argc = *sp