diff options
Diffstat (limited to 'libexec/ld.so/i386/ldasm.S')
-rw-r--r-- | libexec/ld.so/i386/ldasm.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libexec/ld.so/i386/ldasm.S b/libexec/ld.so/i386/ldasm.S index b5248e33c77..2052a03e38d 100644 --- a/libexec/ld.so/i386/ldasm.S +++ b/libexec/ld.so/i386/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.10 2006/05/03 16:10:52 drahn Exp $ */ +/* $OpenBSD: ldasm.S,v 1.11 2009/02/16 14:17:51 kurt Exp $ */ /* * Copyright (c) 2002 Dale Rahn @@ -68,13 +68,13 @@ _dl_start: call _dl_boot@PLT # _dl_boot(argv,envp,loff,dl_data) - addl $5*4,%esp # pop args + addl $7*4,%esp # pop args addl $DL_DATA_SIZE,%esp # return dl_data - popl %ebx # %ebx = ps_strings - XXXDSR - popl %edx # %edx = cleanup - XXXDSR - popl %ecx # %ecx = obj_main - XXXDSR + popl %ebx # %ebx = ps_strings + movl $0,%edx # %edx = cleanup - XXXDSR + movl $0,%ecx # %ecx = obj_main - XXXDSR jmp *%eax |