diff options
-rw-r--r-- | sys/arch/hp300/hp300/locore.s | 5 | ||||
-rw-r--r-- | sys/arch/i386/i386/locore.s | 5 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/locore.s | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s index 9c9eb9a778a..77ecd302818 100644 --- a/sys/arch/hp300/hp300/locore.s +++ b/sys/arch/hp300/hp300/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.20 1997/11/06 19:42:34 millert Exp $ */ +/* $OpenBSD: locore.s,v 1.21 1998/09/06 20:09:59 millert Exp $ */ /* $NetBSD: locore.s,v 1.79 1997/09/12 08:41:55 mycroft Exp $ */ /* @@ -77,6 +77,7 @@ #include <machine/asm.h> #include <machine/trap.h> +#include "ksyms.h" #include "opt_useleds.h" #ifdef USELEDS #include <hp300/hp300/leds.h> @@ -378,7 +379,7 @@ Lstart2: movl d1,a0@ | and physmem /* configure kernel and proc0 VA space so we can get going */ -#ifdef DDB +#if defined(DDB) || NSYMS > 0 RELOC(esym,a0) | end of static kernel test/data/syms movl a0@,d5 jne Lstart3 diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index 94ee6f65322..655b061b84c 100644 --- a/sys/arch/i386/i386/locore.s +++ b/sys/arch/i386/i386/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.44 1998/08/18 22:29:10 marc Exp $ */ +/* $OpenBSD: locore.s,v 1.45 1998/09/06 20:09:58 millert Exp $ */ /* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */ /*- @@ -44,6 +44,7 @@ #include "assym.h" #include "apm.h" #include "pctr.h" +#include "ksyms.h" #include <sys/errno.h> #include <sys/syscall.h> @@ -414,7 +415,7 @@ try586: /* Use the `cpuid' instruction. */ /* Find end of kernel image. */ movl $RELOC(_end),%esi -#if defined(DDB) && !defined(SYMTAB_SPACE) +#if (defined(DDB) || NKSYMS > 0) && !defined(SYMTAB_SPACE) /* Save the symbols (if loaded). */ movl RELOC(_esym),%eax testl %eax,%eax diff --git a/sys/arch/mvme68k/mvme68k/locore.s b/sys/arch/mvme68k/mvme68k/locore.s index 85170e0e7c4..c3aced10ca6 100644 --- a/sys/arch/mvme68k/mvme68k/locore.s +++ b/sys/arch/mvme68k/mvme68k/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.18 1998/03/01 00:37:41 niklas Exp $ */ +/* $OpenBSD: locore.s,v 1.19 1998/09/06 20:10:53 millert Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -72,6 +72,7 @@ */ #include "assym.h" +#include "ksyms.h" #include <machine/asm.h> #include <machine/prom.h> @@ -385,7 +386,7 @@ Lstart1: movl d1,a0@ | and physmem /* configure kernel and proc0 VA space so we can get going */ .globl _Sysseg, _pmap_bootstrap, _avail_start -#ifdef DDB +#if defined(DDB) || NKSYMS > 0 RELOC(_esym,a0) | end of static kernel test/data/syms movl a0@,d2 jne Lstart2 |