OSDN Git Service

MIPS: Discard .eh_frame sections in linker script.
authorDavid Daney <david.daney@cavium.com>
Thu, 8 Aug 2013 18:40:49 +0000 (11:40 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Aug 2013 13:33:41 +0000 (15:33 +0200)
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>
arch/mips/kernel/vmlinux.lds.S

index 05826d2..3b46f7c 100644 (file)
@@ -179,5 +179,6 @@ SECTIONS
                *(.options)
                *(.pdr)
                *(.reginfo)
+               *(.eh_frame)
        }
 }