diff options
author | David Daney <david.daney@cavium.com> | 2013-08-08 11:40:49 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-08-26 15:33:41 +0200 |
commit | b8199546a4121ae3a8dc094e658c5fabc4397925 (patch) | |
tree | 2e22b31cfc5d76e8172576b979b9a68dc53bc381 | |
parent | aca58a662067606e6020e1d42ced1b88cab65ca1 (diff) | |
download | lwn-b8199546a4121ae3a8dc094e658c5fabc4397925.tar.gz lwn-b8199546a4121ae3a8dc094e658c5fabc4397925.zip |
MIPS: Discard .eh_frame sections in linker script.
Some toolchains (including Cavium OCTEON SDK) are emitting .eh_frame
sections by default. Discard them as they are useless in the kernel.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5684/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S index 05826d20a792..3b46f7ce9ca7 100644 --- a/arch/mips/kernel/vmlinux.lds.S +++ b/arch/mips/kernel/vmlinux.lds.S @@ -179,5 +179,6 @@ SECTIONS *(.options) *(.pdr) *(.reginfo) + *(.eh_frame) } } |