From c85f727214ed2c2d4bdf32e3abe39c62e9dcb6a5 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Tue, 10 Feb 2004 16:59:09 +0000 Subject: Make this work. will figure out what this should be later. --- libexec/ld.so/amd64/ldasm.S | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libexec/ld.so/amd64') 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" -- cgit v1.2.3