[coreboot-gerrit] New patch to review for coreboot: 6f0c7e3 Don't add .eh_frame sections to SMM image

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Wed Jun 25 17:55:39 CEST 2014


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6105

-gerrit

commit 6f0c7e3acc54831c6483227fd07974e3a435838f
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Wed Jun 25 17:54:54 2014 +0200

    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 <patrick at georgi-clan.de>
---
 src/cpu/x86/smm/smm.ld      | 2 ++
 src/cpu/x86/smm/smm_tseg.ld | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/cpu/x86/smm/smm.ld b/src/cpu/x86/smm/smm.ld
index d5c7127..5d316a8 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 6def972..99f2aa0 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_*)
 	}
 }



More information about the coreboot-gerrit mailing list