* [PATCH] parisc: Move exception tables into read-only section
@ 2016-10-09 9:20 Helge Deller
0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2016-10-09 9:20 UTC (permalink / raw)
To: linux-parisc, James Bottomley, John David Anglin
Since BUILDTIME_EXTABLE_SORT is enabled, the exception tables can move
into the read-only section.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index 9a44e92..3d6ef1b 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-09 9:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-09 9:20 [PATCH] parisc: Move exception tables into read-only section Helge Deller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.