summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2018-05-09 15:03:04 +0000
committervisa <visa@openbsd.org>2018-05-09 15:03:04 +0000
commitd3a683ea274e4b48dbf10ebd0c7fcfa44918b1e8 (patch)
tree2b4ce048cc3b373103d1938cae2b5824c7110d6a
parenton the other hand, commenting this out was involuntary. (diff)
downloadwireguard-openbsd-d3a683ea274e4b48dbf10ebd0c7fcfa44918b1e8.tar.xz
wireguard-openbsd-d3a683ea274e4b48dbf10ebd0c7fcfa44918b1e8.zip
Fix a linking error in the IP26 kernel. This is a regression caused
by the addition of db_save_stack_trace(). sys/arch/mips64/mips64/trap.c:(.text+0x410): undefined reference to `u_intr' Pointed out by deraadt@
-rw-r--r--sys/arch/mips64/mips64/exception_tfp.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mips64/mips64/exception_tfp.S b/sys/arch/mips64/mips64/exception_tfp.S
index 1169ffafb72..e1ca77e2346 100644
--- a/sys/arch/mips64/mips64/exception_tfp.S
+++ b/sys/arch/mips64/mips64/exception_tfp.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: exception_tfp.S,v 1.6 2016/12/22 15:33:36 visa Exp $ */
+/* $OpenBSD: exception_tfp.S,v 1.7 2018/05/09 15:03:04 visa Exp $ */
/*
* Copyright (c) 2012 Miodrag Vallat.
@@ -278,6 +278,8 @@ k_exception_table:
.align 5
NNON_LEAF(u_general, FRAMESZ(CF_SZ), ra)
+ .globl u_intr # for trap.c peace of mind
+u_intr:
.set noat
.mask 0x80000000, (CF_RA_OFFS - FRAMESZ(CF_SZ))