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>
This commit is contained in:
committed by
Peter Stuge
parent
5563959b09
commit
6a11333133
@@ -39,7 +39,6 @@ SECTIONS
|
|||||||
*(.rodata);
|
*(.rodata);
|
||||||
*(.rodata.*);
|
*(.rodata.*);
|
||||||
*(.rom.data.*);
|
*(.rom.data.*);
|
||||||
*(.eh_frame);
|
|
||||||
. = ALIGN(16);
|
. = ALIGN(16);
|
||||||
_erom = .;
|
_erom = .;
|
||||||
}
|
}
|
||||||
@@ -49,6 +48,7 @@ SECTIONS
|
|||||||
*(.note)
|
*(.note)
|
||||||
*(.comment.*)
|
*(.comment.*)
|
||||||
*(.note.*)
|
*(.note.*)
|
||||||
|
*(.eh_frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
_bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0 || CONFIG_AMD_AGESA, "Do not use global variables in romstage");
|
_bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0 || CONFIG_AMD_AGESA, "Do not use global variables in romstage");
|
||||||
|
Reference in New Issue
Block a user