瀏覽代碼

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 年之前
父節點
當前提交
b8199546a4
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)
 	}
 }