Skip to content

Commit

Permalink
parisc: Move exception table into read-only section
Browse files Browse the repository at this point in the history
Since BUILDTIME_EXTABLE_SORT is enabled, the exception table can move
into the read-only section.

Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
Helge Deller committed Oct 9, 2016
1 parent f8850ab commit f79b076
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/parisc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 = .;
Expand All @@ -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)

Expand Down

0 comments on commit f79b076

Please sign in to comment.