diff options
author | Nicolas Pitre <nico@cam.org> | 2005-10-13 23:04:37 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-13 23:04:37 +0200 |
commit | 13b1f64c16e2eb96a021b49cf3986528046ba3dc (patch) | |
tree | b8220efc2177dc7fb041b9490a42b36f7bfeb177 /arch | |
parent | [ARM] 3007/1: BAST - add CONFIG_ISA to build (diff) | |
download | linux-13b1f64c16e2eb96a021b49cf3986528046ba3dc.tar.xz linux-13b1f64c16e2eb96a021b49cf3986528046ba3dc.zip |
[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 <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/vmlinux.lds.S | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 08e58ecd44be..0d5db5279c5c 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) |