Skip to contentSkip to conversation

MIPS: Discard .eh_frame sections in linker script.

PATCH New David Daney 1 participant 1 message Aug 8, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

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.

---

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
index 05826d2..3b46f7c 100644
@@ -179,5 +179,6 @@ SECTIONS
 		*(.options)
 		*(.pdr)
 		*(.reginfo)
+		*(.eh_frame)
 	}
 }
Signature · 1 line
1.7.11.7