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.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ld.so/amd64/ldasm.S b/libexec/ld.so/amd64/ldasm.S
index da470d97c33..00b4e8cf3d2 100644
--- a/libexec/ld.so/amd64/ldasm.S
+++ b/libexec/ld.so/amd64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.13 2013/08/13 05:52:18 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.14 2013/12/23 22:13:03 kettenis Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
@@ -63,9 +63,7 @@ _dl_start:
addq $DL_DATA_SIZE,%rsp # return dl_data
-# popq %rbx # %rbx = ps_strings - XXXDSR
-# popq %rcx # %rcx = obj_main - XXXDSR
- movq $0, %rdx # %rdx = cleanup - XXXDSR
+ leaq _dl_dtors(%rip), %rdx # %rdx = cleanup
movq %r12, %rsp
jmp *%rax