summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Gauthier <marc@gums.hq.tensilica.com>2007-12-31 07:00:54 +0100
committerChris Zankel <chris@zankel.net>2008-02-14 02:25:14 +0100
commit6d15d109632ff01e13c26893030e2ed9e6c4e3fd (patch)
tree381429fcccdf4e1ebfa3b8702f56b1afe7c03954
parent[XTENSA] Add volatile keyword to asm statements accessing counter registers (diff)
downloadlinux-6d15d109632ff01e13c26893030e2ed9e6c4e3fd.tar.xz
linux-6d15d109632ff01e13c26893030e2ed9e6c4e3fd.zip
[XTENSA] Add missing RELOCATE_ENTRY for debug vector
We also need to relocate the debug vector if in RAM. Signed-off-by: Marc Gauthier <marc@tensilica.com>
-rw-r--r--arch/xtensa/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S
index 4b717bf48fb7..51f4fb6f16f9 100644
--- a/arch/xtensa/kernel/vmlinux.lds.S
+++ b/arch/xtensa/kernel/vmlinux.lds.S
@@ -163,6 +163,8 @@ SECTIONS
.DoubleExceptionVector.literal);
RELOCATE_ENTRY(_DoubleExceptionVector_text,
.DoubleExceptionVector.text);
+ RELOCATE_ENTRY(_DebugInterruptVector_text,
+ .DebugInterruptVector.text);
__boot_reloc_table_end = ABSOLUTE(.) ;
}