Преглед изворни кода

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 */