summaryrefslogtreecommitdiff
path: root/libexec/ld.so/amd64/ldasm.S
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/amd64/ldasm.S')
-rw-r--r--libexec/ld.so/amd64/ldasm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/amd64/ldasm.S b/libexec/ld.so/amd64/ldasm.S
index 0ffe3a600eb..19fd5018fc9 100644
--- a/libexec/ld.so/amd64/ldasm.S
+++ b/libexec/ld.so/amd64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.8 2011/07/23 21:41:19 kettenis Exp $ */
+/* $OpenBSD: ldasm.S,v 1.9 2012/10/22 21:14:59 kettenis Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
@@ -64,8 +64,8 @@ _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
+ movq $0, %rdx # %rdx = cleanup - XXXDSR
movq %r12, %rsp
jmp *%rax