summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-24 21:37:07 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-24 21:37:07 +0000
commit5eb0214707b271df662f1b5e8429753237f13510 (patch)
tree3850ac3a3ae4f1bf7a3e88b21a50f87b0e33fda6 /libexec/ld.so
parentb3d7af781849c849e8cc82591dedf3ad8627bc40 (diff)
Adapt to _dl_boot_bind change.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/alpha/ldasm.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/libexec/ld.so/alpha/ldasm.S b/libexec/ld.so/alpha/ldasm.S
index 7e6bfbfd110..609a1b1ac81 100644
--- a/libexec/ld.so/alpha/ldasm.S
+++ b/libexec/ld.so/alpha/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.3 2001/06/13 08:42:03 art Exp $ */
+/* $OpenBSD: ldasm.S,v 1.4 2001/09/24 21:37:06 art Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -69,7 +69,7 @@
/* Not really a leaf... but we are special. */
LEAF_NOPROFILE(_dl_start, 0)
.set noreorder
- lda sp, (-8 - ((AUX_entry + 1) * 8))(sp)
+ lda sp, (-8 - ((AUX_entry) * 8))(sp)
br pv, L1
L1:
LDGP(pv)
@@ -97,10 +97,10 @@ L3:
sll t3, 3, t3
addq a3, t3, a4 /* envp */
mov a4, s4
- mov t1, a5 /* dynamic */
+ mov t1, a2 /* dynamic */
mov a5, s5
- lda s2, 8(sp)
- stq s2, 0(sp) /* dl_link */
+ lda s2, 0(sp)
+ mov s2, a3
CALL(_dl_boot_bind)
mov s3, a0
mov s4, a1