From: Robert Millan <rmh@aybabtu.com>
To: grub-devel@gnu.org
Cc: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Subject: grub_elf32_size()
Date: Sat, 12 Dec 2009 00:20:17 +0100 [thread overview]
Message-ID: <20091211232016.GA12276@thorin> (raw)
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
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."
[-- Attachment #2: r1899.diff --]
[-- Type: text/x-diff, Size: 1030 bytes --]
------------------------------------------------------------
revno: 1899
committer: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
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. */
next reply other threads:[~2009-12-11 23:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-11 23:20 Robert Millan [this message]
2009-12-24 21:22 ` grub_elf32_size() Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091211232016.GA12276@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
--cc=phcoder@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.