diff options
author | 2018-05-09 15:03:04 +0000 | |
---|---|---|
committer | 2018-05-09 15:03:04 +0000 | |
commit | d3a683ea274e4b48dbf10ebd0c7fcfa44918b1e8 (patch) | |
tree | 2b4ce048cc3b373103d1938cae2b5824c7110d6a | |
parent | on the other hand, commenting this out was involuntary. (diff) | |
download | wireguard-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.S | 4 |
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)) |