From: Matt Turner <mattst88@gmail.com>
To: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Richard Henderson <rth@twiddle.net>,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
ang@brigante.org, Matt Turner <mattst88@gmail.com>
Subject: [RFC] alpha: hack objstrip.c to make it compile.
Date: Mon, 29 Mar 2010 21:49:55 -0400 [thread overview]
Message-ID: <1269913795-1852-1-git-send-email-mattst88@gmail.com> (raw)
I don't think this is the appropriate fix. What should I do to fix this?
---
arch/alpha/boot/tools/objstrip.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/alpha/boot/tools/objstrip.c b/arch/alpha/boot/tools/objstrip.c
index 367d53d..54fa1ef 100644
--- a/arch/alpha/boot/tools/objstrip.c
+++ b/arch/alpha/boot/tools/objstrip.c
@@ -27,6 +27,9 @@
#include <linux/param.h>
#ifdef __ELF__
# include <linux/elf.h>
+# define elfhdr elf64_hdr
+# define elf_phdr elf64_phdr
+# define elf_check_arch(x) ((x)->e_machine == EM_ALPHA)
#endif
/* bootfile size must be multiple of BLOCK_SIZE: */
--
1.6.4.4
next reply other threads:[~2010-03-30 1:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 1:49 Matt Turner [this message]
2010-03-30 14:28 ` [RFC] alpha: hack objstrip.c to make it compile Richard Henderson
2010-03-30 14:49 ` Matt Turner
2010-03-30 14:59 ` Richard Henderson
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=1269913795-1852-1-git-send-email-mattst88@gmail.com \
--to=mattst88@gmail.com \
--cc=ang@brigante.org \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).