summaryrefslogtreecommitdiff
path: root/libexec/ld.so/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/amd64')
-rw-r--r--libexec/ld.so/amd64/ldasm.S9
1 files changed, 5 insertions, 4 deletions
diff --git a/libexec/ld.so/amd64/ldasm.S b/libexec/ld.so/amd64/ldasm.S
index 11b30c866b4..515529439a2 100644
--- a/libexec/ld.so/amd64/ldasm.S
+++ b/libexec/ld.so/amd64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.1 2004/02/10 14:18:14 drahn Exp $ */
+/* $OpenBSD: ldasm.S,v 1.2 2004/02/10 16:59:08 drahn Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
@@ -58,9 +58,10 @@ _dl_start:
addq $DL_DATA_SIZE,%rsp # return dl_data
- popq %rbx # %rbx = ps_strings - XXXDSR
- popq %rdx # %rdx = cleanup - XXXDSR
- popq %rcx # %rcx = obj_main - XXXDSR
+# popq %rbx # %rbx = ps_strings - XXXDSR
+# popq %rdx # %rdx = cleanup - XXXDSR
+# popq %rcx # %rcx = obj_main - XXXDSR
+ movq %r12, %rsp
jmp *%rax
.section ".text"