浏览代码

Blackfin: use common EXCEPTION_TABLE() in vmlinux.lds

Rather than do our own thing, use what common code provides.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 15 年之前
父节点
当前提交
d49e8e7e5a
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      arch/blackfin/kernel/vmlinux.lds.S

+ 1 - 6
arch/blackfin/kernel/vmlinux.lds.S

@@ -48,15 +48,10 @@ SECTIONS
 #if !L1_CODE_LENGTH
 		*(.l1.text)
 #endif
-
-		. = ALIGN(16);
-		___start___ex_table = .;
-		*(__ex_table)
-		___stop___ex_table = .;
-
 		__etext = .;
 	}
 
+	EXCEPTION_TABLE(4)
 	NOTES
 
 	/* Just in case the first read only is a 32-bit access */