From d18339fbcc3156cbdfdd5dbed98981f9a6bdb068 Mon Sep 17 00:00:00 2001 From: simonb Date: Sat, 26 Sep 2020 08:21:27 +0000 Subject: [PATCH] Expose the atomicvec vectors via EXPORT_OBJECT so ksyms(4) address lookups can find them. --- sys/arch/mips/mips/lock_stubs_llsc.S | 6 +++--- sys/arch/mips/mips/lock_stubs_ras.S | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arch/mips/mips/lock_stubs_llsc.S b/sys/arch/mips/mips/lock_stubs_llsc.S index 9f7bbce6909e..b2edcfd3a689 100644 --- a/sys/arch/mips/mips/lock_stubs_llsc.S +++ b/sys/arch/mips/mips/lock_stubs_llsc.S @@ -1,4 +1,4 @@ -/* $NetBSD: lock_stubs_llsc.S,v 1.12 2020/08/09 08:33:52 skrll Exp $ */ +/* $NetBSD: lock_stubs_llsc.S,v 1.13 2020/09/26 08:21:27 simonb Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ #include -RCSID("$NetBSD: lock_stubs_llsc.S,v 1.12 2020/08/09 08:33:52 skrll Exp $") +RCSID("$NetBSD: lock_stubs_llsc.S,v 1.13 2020/09/26 08:21:27 simonb Exp $") #include "assym.h" @@ -341,7 +341,7 @@ END(llsc_mutex_spin_exit) #endif /* !LOCKDEBUG */ .rdata -EXPORT(mips_llsc_locore_atomicvec) +EXPORT_OBJECT(mips_llsc_locore_atomicvec) PTR_WORD llsc_atomic_cas_uint PTR_WORD llsc_atomic_cas_ulong PTR_WORD llsc_ucas_32 diff --git a/sys/arch/mips/mips/lock_stubs_ras.S b/sys/arch/mips/mips/lock_stubs_ras.S index fa33b8d42408..86477a4b5841 100644 --- a/sys/arch/mips/mips/lock_stubs_ras.S +++ b/sys/arch/mips/mips/lock_stubs_ras.S @@ -1,4 +1,4 @@ -/* $NetBSD: lock_stubs_ras.S,v 1.10 2019/04/06 03:06:26 thorpej Exp $ */ +/* $NetBSD: lock_stubs_ras.S,v 1.11 2020/09/26 08:21:27 simonb Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ #include -RCSID("$NetBSD: lock_stubs_ras.S,v 1.10 2019/04/06 03:06:26 thorpej Exp $") +RCSID("$NetBSD: lock_stubs_ras.S,v 1.11 2020/09/26 08:21:27 simonb Exp $") #include "assym.h" @@ -482,7 +482,7 @@ END(ras_mutex_spin_exit) #endif /* !LOCKDEBUG */ .data -EXPORT(mips_locore_atomicvec) +EXPORT_OBJECT(mips_locore_atomicvec) PTR_WORD ras_atomic_cas_uint PTR_WORD ras_atomic_cas_ulong PTR_WORD ras_ucas_32