summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-07-13 21:28:45 +0000
committermiod <miod@openbsd.org>2009-07-13 21:28:45 +0000
commitcef57e28e2a78ef1cb2f0c826860b45a0149c2ef (patch)
treec0459f0d352b6caad15d80b711f970e67613bbce /lib/libc
parentExtend xbridge to support shared interrupt handlers, and perform PCI-PCI (diff)
downloadwireguard-openbsd-cef57e28e2a78ef1cb2f0c826860b45a0149c2ef.tar.xz
wireguard-openbsd-cef57e28e2a78ef1cb2f0c826860b45a0149c2ef.zip
Load symbol address with dla, not la; good thing userland is still limited
to 2GB of vm space.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/mips64/sys/Ovfork.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/mips64/sys/Ovfork.S b/lib/libc/arch/mips64/sys/Ovfork.S
index 149960e6239..7adca32b0b0 100644
--- a/lib/libc/arch/mips64/sys/Ovfork.S
+++ b/lib/libc/arch/mips64/sys/Ovfork.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: Ovfork.S,v 1.3 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: Ovfork.S,v 1.4 2009/07/13 21:28:45 miod Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -50,7 +50,7 @@ SYSLEAF(vfork, FRAMESZ)
li v0, SYS_vfork # system call number for vfork
syscall
beq a3, zero, 1f # jump if no errors
- la t9, cerror
+ LA t9, cerror
RESTORE_GP64
PTR_ADDU sp, FRAMESZ
jr t9