From: David Daney Date: Thu, 8 Aug 2013 18:40:49 +0000 (-0700) Subject: MIPS: Discard .eh_frame sections in linker script. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b8199546a4121ae3a8dc094e658c5fabc4397925;p=linux-beck.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5684/ Signed-off-by: Ralf Baechle --- 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) } }