Drop eh_frame instead of moving it into the image.
authorStefan Reinauer <reinauer@chromium.org>
Fri, 14 Oct 2011 17:29:21 +0000 (10:29 -0700)
committerPeter Stuge <peter@stuge.se>
Wed, 19 Oct 2011 01:25:09 +0000 (03:25 +0200)
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>
src/arch/x86/init/bootblock.ld

index dae17bd6bd38de28ed788fe69086e88feb50d0a4..bde0430059aeb815481cd93d0387157600fad496 100644 (file)
@@ -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");