mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
Fix compilation issue for ppc
This commit is contained in:
1 parent
579877ce86
commit
02ddd45afc
1 file changed
+2
-2
@@ -110,7 +110,7 @@ grub_linux_load32 (grub_elf_t elf)
|
|||||||
if (entry == 0)
|
if (entry == 0)
|
||||||
entry = 0x01400000;
|
entry = 0x01400000;
|
||||||
|
|
||||||
linux_size = grub_elf32_size (elf);
|
linux_size = grub_elf32_size (elf, 0);
|
||||||
if (linux_size == 0)
|
if (linux_size == 0)
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
/* Pad it; the kernel scribbles over memory beyond its load address. */
|
/* Pad it; the kernel scribbles over memory beyond its load address. */
|
||||||
@@ -160,7 +160,7 @@ grub_linux_load64 (grub_elf_t elf)
|
|||||||
if (entry == 0)
|
if (entry == 0)
|
||||||
entry = 0x01400000;
|
entry = 0x01400000;
|
||||||
|
|
||||||
linux_size = grub_elf64_size (elf);
|
linux_size = grub_elf64_size (elf, 0);
|
||||||
if (linux_size == 0)
|
if (linux_size == 0)
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
/* Pad it; the kernel scribbles over memory beyond its load address. */
|
/* Pad it; the kernel scribbles over memory beyond its load address. */
|
||||||
|
|||||||
Reference in new issue
Block a user