summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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.