diff options
author | 2004-02-10 16:59:08 +0000 | |
---|---|---|
committer | 2004-02-10 16:59:08 +0000 | |
commit | da2d6911f51f199a3d3771810cf59552137e329a (patch) | |
tree | fe01100f68e227f11d2bf960900f387646789893 | |
parent | Fix PIC cerror. ok miod@ mickey@ (diff) | |
download | wireguard-openbsd-da2d6911f51f199a3d3771810cf59552137e329a.tar.xz wireguard-openbsd-da2d6911f51f199a3d3771810cf59552137e329a.zip |
Make this work. will figure out what this should be later.
-rw-r--r-- | libexec/ld.so/amd64/ldasm.S | 9 | ||||
-rw-r--r-- | libexec/ld.so/x86_64/ldasm.S | 9 |
2 files changed, 10 insertions, 8 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" diff --git a/libexec/ld.so/x86_64/ldasm.S b/libexec/ld.so/x86_64/ldasm.S index 11b30c866b4..515529439a2 100644 --- a/libexec/ld.so/x86_64/ldasm.S +++ b/libexec/ld.so/x86_64/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" |