diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-06 20:10:54 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-06 20:10:54 +0000 |
commit | ff2b84397b35d184bda069e5a969617c469c7be8 (patch) | |
tree | d1ee0cbc44847ecd362aa9c1aa7a7b537d5740f1 /sys/arch/mvme68k | |
parent | 3943a3a743419288cbed25efe44f723023079d24 (diff) |
Preserve symbol table if ksyms is in the kernel but DDB is not.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/locore.s | 5 |
1 files changed, 3 insertions, 2 deletions
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 |