From 9c41063713c64994083a4baddb22d41a685a95b8 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 25 Jun 2014 17:54:54 +0200 Subject: Don't add .eh_frame sections to SMM image We don't need exception handlers and they waste space. Change-Id: I98a34d1c9638e8c4168edbfb4b1cddde8a64623f Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/6105 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/cpu/x86/smm/smm.ld | 2 ++ src/cpu/x86/smm/smm_tseg.ld | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/cpu') diff --git a/src/cpu/x86/smm/smm.ld b/src/cpu/x86/smm/smm.ld index d5c7127a15..5d316a8f4d 100644 --- a/src/cpu/x86/smm/smm.ld +++ b/src/cpu/x86/smm/smm.ld @@ -49,5 +49,7 @@ SECTIONS *(.comment) *(.note) *(.note.*) + *(.eh_frame) + *(.debug_*) } } diff --git a/src/cpu/x86/smm/smm_tseg.ld b/src/cpu/x86/smm/smm_tseg.ld index 6def972949..99f2aa0a67 100644 --- a/src/cpu/x86/smm/smm_tseg.ld +++ b/src/cpu/x86/smm/smm_tseg.ld @@ -67,5 +67,7 @@ SECTIONS *(.comment) *(.note) *(.note.*) + *(.eh_frame) + *(.debug_*) } } -- cgit v1.2.3