From: Nicolas Pitre Date: Thu, 13 Oct 2005 21:04:37 +0000 (+0100) Subject: [ARM] 3008/1: the exception table is not read-only X-Git-Tag: v2.6.14-rc5~45^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13b1f64c16e2eb96a021b49cf3986528046ba3dc;p=platform%2Fkernel%2Flinux-3.10.git [ARM] 3008/1: the exception table is not read-only Patch from Nicolas Pitre ... and therefore should not live in the .text section. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 08e58ec..0d5db52 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S @@ -89,13 +89,6 @@ SECTIONS *(.got) /* Global offset table */ } - . = ALIGN(16); - __ex_table : { /* Exception table */ - __start___ex_table = .; - *(__ex_table) - __stop___ex_table = .; - } - RODATA _etext = .; /* End of text and rodata section */ @@ -138,6 +131,14 @@ SECTIONS *(.data.cacheline_aligned) /* + * The exception fixup table (might need resorting at runtime) + */ + . = ALIGN(32); + __start___ex_table = .; + *(__ex_table) + __stop___ex_table = .; + + /* * and the usual data section */ *(.data)