mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-29 10:01:43 +00:00
board/db410c: add missing linker map entries for efi
Otherwise the loaded image would miss the efi_runtime sections, and fall over hard when grub (for example) tried to call runtime services located in this section. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
4e118ce6d8
commit
0f546eaf00
1 changed files with 16 additions and 0 deletions
|
@ -43,6 +43,22 @@ SECTIONS
|
||||||
|
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
|
|
||||||
|
.efi_runtime : {
|
||||||
|
__efi_runtime_start = .;
|
||||||
|
*(efi_runtime_text)
|
||||||
|
*(efi_runtime_data)
|
||||||
|
__efi_runtime_stop = .;
|
||||||
|
}
|
||||||
|
|
||||||
|
.efi_runtime_rel : {
|
||||||
|
__efi_runtime_rel_start = .;
|
||||||
|
*(.relaefi_runtime_text)
|
||||||
|
*(.relaefi_runtime_data)
|
||||||
|
__efi_runtime_rel_stop = .;
|
||||||
|
}
|
||||||
|
|
||||||
|
. = ALIGN(8);
|
||||||
|
|
||||||
.image_copy_end :
|
.image_copy_end :
|
||||||
{
|
{
|
||||||
*(.__image_copy_end)
|
*(.__image_copy_end)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue