Browse Source

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>
David Daney 12 years ago
parent
commit
b8199546a4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/mips/kernel/vmlinux.lds.S

+ 1 - 0
arch/mips/kernel/vmlinux.lds.S

@@ -179,5 +179,6 @@ SECTIONS
 		*(.options)
 		*(.pdr)
 		*(.reginfo)
+		*(.eh_frame)
 	}
 }