MIPS: Discard .eh_frame sections in linker script.
PATCH v2 1/1 MIPS: Discard .eh_frame sections in linker script.
From: David Daney <[email protected]>
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 <[email protected]>
---
Changes from v1: Fix changelog spelling.
arch/mips/kernel/vmlinux.lds.S | 1 + 1 file changed, 1 insertion(+)
arch/mips/kernel/vmlinux.lds.S +1 -0
@@ -179,5 +179,6 @@ SECTIONS *(.options) *(.pdr) *(.reginfo) + *(.eh_frame) } }
Signature · 1 line
1.7.11.7