summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorDavid Daney2013-08-08 20:40:49 +0200
committerRalf Baechle2013-08-26 15:33:41 +0200
commitb8199546a4121ae3a8dc094e658c5fabc4397925 (patch)
tree2e22b31cfc5d76e8172576b979b9a68dc53bc381 /arch/mips/kernel/vmlinux.lds.S
parentgpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins. (diff)
downloadkernel-qcow2-linux-b8199546a4121ae3a8dc094e658c5fabc4397925.tar.gz
kernel-qcow2-linux-b8199546a4121ae3a8dc094e658c5fabc4397925.tar.xz
kernel-qcow2-linux-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>
Diffstat (limited to 'arch/mips/kernel/vmlinux.lds.S')
-rw-r--r--arch/mips/kernel/vmlinux.lds.S1
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)
}
}