浏览代码

[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 年之前
父节点
当前提交
6d15d10963
共有 1 个文件被更改,包括 2 次插入0 次删除
  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(.) ;
   }