[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub_elf32_size()
From: |
Robert Millan |
Subject: |
Re: grub_elf32_size() |
Date: |
Thu, 24 Dec 2009 22:22:04 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
It seems this just didn't belong to relocator branch. Nothing to see here ;-)
On Sat, Dec 12, 2009 at 12:20:17AM +0100, Robert Millan wrote:
>
> Not sure if I missed something obvious, but this commit (relocator branch)
> seems to break compilation rather than fix it. Was grub_elf32_size()
> number of args meant to be changed?
>
> --
> Robert Millan
>
> The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
> how) you may access your data; but nobody's threatening your freedom: we
> still allow you to remove your data and not access it at all."
> ------------------------------------------------------------
> revno: 1899
> committer: Vladimir 'phcoder' Serbinenko <address@hidden>
> branch nick: relocators
> timestamp: Thu 2009-12-03 22:45:41 +0100
> message:
> Fix compilation issue for ppc
>
> === modified file 'loader/powerpc/ieee1275/linux.c'
> --- loader/powerpc/ieee1275/linux.c 2009-06-21 23:55:23 +0000
> +++ loader/powerpc/ieee1275/linux.c 2009-12-03 21:45:41 +0000
> @@ -110,7 +110,7 @@ grub_linux_load32 (grub_elf_t elf)
> if (entry == 0)
> entry = 0x01400000;
>
> - linux_size = grub_elf32_size (elf);
> + linux_size = grub_elf32_size (elf, 0);
> if (linux_size == 0)
> return grub_errno;
> /* 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)
> entry = 0x01400000;
>
> - linux_size = grub_elf64_size (elf);
> + linux_size = grub_elf64_size (elf, 0);
> if (linux_size == 0)
> return grub_errno;
> /* Pad it; the kernel scribbles over memory beyond its load address. */
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
--
Robert Millan
"Be the change you want to see in the world" -- Gandhi