]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
parisc: Move exception table into read-only section
authorHelge Deller <deller@gmx.de>
Sun, 9 Oct 2016 09:20:44 +0000 (11:20 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 9 Oct 2016 11:29:07 +0000 (13:29 +0200)
Since BUILDTIME_EXTABLE_SORT is enabled, the exception table can move
into the read-only section.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/vmlinux.lds.S

index 9a44e92b65e22a87e9a4834385961ae8928f95e7..3d6ef1b29c6ad312e5114f86ad737d13bf606403 100644 (file)
@@ -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)