diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-29 19:04:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-29 19:04:40 +0000 |
commit | 54265fd7df11be18252f07c9ee677da66ce519a1 (patch) | |
tree | e2b2468d90d928d5cbce2c2fc597387efaa7889d /sys | |
parent | ec749e01eb7a03abf72dcdd794b904b496be56e4 (diff) |
allow a kernel w/o DDB but with ksyms to link
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/locore.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s index add5447feb6..d976d788f95 100644 --- a/sys/arch/sparc/sparc/locore.s +++ b/sys/arch/sparc/sparc/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.20 1998/09/09 15:43:18 millert Exp $ */ +/* $OpenBSD: locore.s,v 1.21 1998/09/29 19:04:39 millert Exp $ */ /* $NetBSD: locore.s,v 1.73 1997/09/13 20:36:48 pk Exp $ */ /* @@ -3396,7 +3396,7 @@ start_havetype: clr %l0 ! lowva set KERNBASE, %l1 ! highva set _end + (2 << 18), %l2 ! last va that must be remapped -#ifdef DDB +#if defined(DDB) || NKSYMS > 0 sethi %hi(_esym - KERNBASE), %o1 ld [%o1+%lo(_esym - KERNBASE)], %o1 tst %o1 @@ -5898,7 +5898,7 @@ Llongjmpbotch: mov %g6, %o0 .data -#ifdef DDB +#if defined(DDB) || NKSYMS > 0 .globl _esym _esym: .word 0 |