diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:47:43 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:47:43 +0000 |
commit | 7389599b98e0ba87da878a8fed32d63073e545d9 (patch) | |
tree | d95af9136363c0f8405773d1172adaf7ca2559dd /lib/libc/arch/i386/sys/Ovfork.S | |
parent | 5310346d0e6069022eace1f0ae09c2f2710f3ffc (diff) |
ELF fixups, ELF PIC syscall support, asm changes as requested by assembler.
Diffstat (limited to 'lib/libc/arch/i386/sys/Ovfork.S')
-rw-r--r-- | lib/libc/arch/i386/sys/Ovfork.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/arch/i386/sys/Ovfork.S b/lib/libc/arch/i386/sys/Ovfork.S index 264e09e302f..1c80b1cd109 100644 --- a/lib/libc/arch/i386/sys/Ovfork.S +++ b/lib/libc/arch/i386/sys/Ovfork.S @@ -38,7 +38,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: Ovfork.S,v 1.3 1998/11/20 11:18:29 d Exp $" + .asciz "$OpenBSD: Ovfork.S,v 1.4 2003/04/17 03:47:42 drahn Exp $" #endif /* SYSLIB_SCCS */ /* @@ -55,15 +55,15 @@ SYSENTRY(vfork) jc err decl %edx andl %edx,%eax - jmp %ecx + jmp *%ecx err: #ifdef PIC PIC_PROLOGUE - movl PIC_GOT(_errno),%edx + movl PIC_GOT(_C_LABEL(errno)),%edx PIC_EPILOGUE movl %eax,(%edx) #else - movl %eax,_errno + movl %eax,_C_LABEL(errno) #endif movl $-1,%eax - jmp %ecx + jmp *%ecx |