Ver Fonte

parisc: Move exception table into read-only section

Since BUILDTIME_EXTABLE_SORT is enabled, the exception table can move
into the read-only section.

Signed-off-by: Helge Deller <deller@gmx.de>
Helge Deller há 8 anos atrás
pai
commit
f79b076eb3
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      arch/parisc/kernel/vmlinux.lds.S

+ 4 - 3
arch/parisc/kernel/vmlinux.lds.S

@@ -109,6 +109,10 @@ SECTIONS
 
 	RO_DATA_SECTION(8)
 
+	/* RO because of BUILDTIME_EXTABLE_SORT */
+	EXCEPTION_TABLE(8)
+	NOTES
+
 	/* unwind info */
 	.PARISC.unwind : {
 		__start___unwind = .;
@@ -124,9 +128,6 @@ SECTIONS
 	. = ALIGN(HUGEPAGE_SIZE);
 	data_start = .;
 
-	EXCEPTION_TABLE(8)
-	NOTES
-
 	/* Data */
 	RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, PAGE_SIZE)