mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
Simplify reloc
This commit is contained in:
1 parent
8af26e386c
commit
f9ee0c3e5d
3 files changed
+6
-7
No files matched your search
@@ -1524,6 +1524,11 @@ finish_reloc_translation_pe (struct translate_context *ctx, struct grub_mkimage_
|
||||
}
|
||||
|
||||
layout->reloc_size = ctx->current_address;
|
||||
if (image_target->elf_target == EM_ARM && layout->reloc_size > GRUB_KERNEL_ARM_STACK_SIZE)
|
||||
grub_util_error ("Reloc section (%d) is bigger than stack size (%d). "
|
||||
"This breaks assembly assumptions. Please increase stack size",
|
||||
(int) layout->reloc_size,
|
||||
(int) GRUB_KERNEL_ARM_STACK_SIZE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user