Skip to contentSkip to conversation

parisc: Move exception tables into read-only section

PATCH New Helge Deller 1 participant 1 message Oct 9, 2016 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 parisc: Move exception tables into read-only section

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

arch/parisc/kernel/vmlinux.lds.S +4 -2
index 9a44e92..3d6ef1b 100644
@@ -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