summaryrefslogtreecommitdiff
path: root/src/cpu/x86/smm
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-06-25 17:54:54 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-28 16:40:50 +0200
commit9c41063713c64994083a4baddb22d41a685a95b8 (patch)
tree9e4058a41f4b73030334e0f6cd2e15df2e9c3bb2 /src/cpu/x86/smm
parent91d6fc8118d1b469ca8a9fa2da66e4819edf41c4 (diff)
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@georgi-clan.de> Reviewed-on: http://review.coreboot.org/6105 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/cpu/x86/smm')
-rw-r--r--src/cpu/x86/smm/smm.ld2
-rw-r--r--src/cpu/x86/smm/smm_tseg.ld2
2 files changed, 4 insertions, 0 deletions
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_*)
}
}