From: Jesper S. <js...@re...> - 2000-08-04 09:40:49
|
I don't know if this is right, but building without GDB support, but with CONFIG_SH_STANDARD_BIOS causes a failure since the STUB_VBR option is not defined. Jesper diff -urN --exclude-from=/home/jskov/lib/diff-excludes -P ../../devo/linux/linux-sh/arch/sh/kernel/entry.S ./arch/sh/kernel/entry.S --- ../../devo/linux/linux-sh/arch/sh/kernel/entry.S Thu Aug 3 17:27:53 2000 +++ ./arch/sh/kernel/entry.S Thu Aug 3 14:36:25 2000 @@ -182,7 +182,7 @@ 1: .long SYMBOL_NAME(do_page_fault) 2: .long MMU_TEA -#if defined(CONFIG_DEBUG_KERNEL_WITH_GDB_STUB) +#if defined(CONFIG_DEBUG_KERNEL_WITH_GDB_STUB) || defined(CONFIG_SH_STANDARD_BIOS) .align 2 /* Unwind the stack and jmp to the debug entry */ debug_kernel: @@ -224,7 +224,7 @@ .align 2 debug_trap: -#if defined(CONFIG_DEBUG_KERNEL_WITH_GDB_STUB) +#if defined(CONFIG_DEBUG_KERNEL_WITH_GDB_STUB) || defined(CONFIG_SH_STANDARD_BIOS) mov #SR, $r0 mov.l @($r0,$r15), $r0 ! get status register shll $r0 |