summaryrefslogtreecommitdiff
path: root/sys/arch/arc
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-15 20:35:07 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-15 20:35:07 +0000
commit5bc96705a603edc3495474c58bb68299142a6aa9 (patch)
tree0235927f28a886ddb8578bd324e38ac8670e64ae /sys/arch/arc
parenta2e1c79814e125f446bc6950d12d8e3e3fd86a52 (diff)
esym is needed for ksyms
Diffstat (limited to 'sys/arch/arc')
-rw-r--r--sys/arch/arc/arc/locore.S13
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/arc/arc/locore.S b/sys/arch/arc/arc/locore.S
index af36ace57c5..f32e2bac024 100644
--- a/sys/arch/arc/arc/locore.S
+++ b/sys/arch/arc/arc/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.19 1998/10/15 21:29:59 imp Exp $ */
+/* $OpenBSD: locore.S,v 1.20 1999/08/15 20:35:06 niklas Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -50,7 +50,7 @@
* v 1.1 89/07/10 14:27:41 nelson Exp SPRITE (DECWRL)
*
* from: @(#)locore.s 8.5 (Berkeley) 1/4/94
- * $Id: locore.S,v 1.19 1998/10/15 21:29:59 imp Exp $
+ * $Id: locore.S,v 1.20 1999/08/15 20:35:06 niklas Exp $
*/
/*
@@ -69,6 +69,7 @@
#include <machine/pte.h>
#include "assym.h"
+#include "ksyms.h"
.set noreorder
@@ -3029,12 +3030,14 @@ LEAF(longjmp)
li v0, 1 # longjmp return
END(longjmp)
+#endif /* DDB */
+#endif /* DDB || DEBUG */
+
+#if defined(DDB) || NKSYMS > 0
.data
.globl esym
esym: .word 0
-
-#endif /* DDB */
-#endif /* DDB || DEBUGGER */
+#endif
/*
* Interrupt counters for vmstat.