summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2016-10-09 11:20:44 +0200
committerHelge Deller <deller@gmx.de>2016-10-09 13:29:07 +0200
commitf79b076eb3a8fa70662584f3ac63ab16787a79a0 (patch)
treee864a351c714efbfd73106d893f7fa353ea65aa0 /arch/parisc/kernel
parentparisc: Fix kernel memory layout regarding position of __gp (diff)
downloadlinux-f79b076eb3a8fa70662584f3ac63ab16787a79a0.tar.xz
linux-f79b076eb3a8fa70662584f3ac63ab16787a79a0.zip
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>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/vmlinux.lds.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index 9a44e92b65e2..3d6ef1b29c6a 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/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)