Browse Source

[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>
Marc Gauthier 17 years ago
parent
commit
6d15d10963
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/xtensa/kernel/vmlinux.lds.S

+ 2 - 0
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(.) ;
   }