summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-14 10:29:21 -0700
committerPeter Stuge <peter@stuge.se>2011-10-19 03:25:09 +0200
commit6a113331339dbddca16a832dca26fa3dd68de48b (patch)
tree8e95a6b570fed3cd38c41defa8a5d8d53c34a9bb
parent5563959b0966284341e27e0b1eab3a7353c81673 (diff)
downloadcoreboot-6a113331339dbddca16a832dca26fa3dd68de48b.tar.xz
Drop eh_frame instead of moving it into the image.
That's what SeaBIOS does, too, and it works just fine. Change-Id: I3e17c15848aca86f775fc86f4ad906c820625887 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/269 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
-rw-r--r--src/arch/x86/init/bootblock.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/init/bootblock.ld b/src/arch/x86/init/bootblock.ld
index dae17bd6bd..bde0430059 100644
--- a/src/arch/x86/init/bootblock.ld
+++ b/src/arch/x86/init/bootblock.ld
@@ -39,7 +39,6 @@ SECTIONS
*(.rodata);
*(.rodata.*);
*(.rom.data.*);
- *(.eh_frame);
. = ALIGN(16);
_erom = .;
}
@@ -49,6 +48,7 @@ SECTIONS
*(.note)
*(.comment.*)
*(.note.*)
+ *(.eh_frame);
}
_bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0 || CONFIG_AMD_AGESA, "Do not use global variables in romstage");