From: Geoff Levand <geoffrey.levand@am.sony.com>
To: Simon Horman <horms@verge.net.au>
Cc: kexec@lists.infradead.org, Jeremy Kerr <jk@ozlabs.org>
Subject: [patch] kexec: Use target linker for purgatory
Date: Thu, 14 Feb 2008 21:27:19 -0800 [thread overview]
Message-ID: <47B522B7.5060308@am.sony.com> (raw)
From: Geoff Levand <geoffrey.levand@am.sony.com>
Pugatory files need to be linked with the target linker,
not the build linker.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
Hi,
This is a resend from last December. It fixes a cross compile
build error. Please appy.
-Geoff
diff --git a/purgatory/Makefile b/purgatory/Makefile
index a543cdb..e7d2f15 100644
--- a/purgatory/Makefile
+++ b/purgatory/Makefile
@@ -42,7 +42,7 @@ $(PURGATORY): LDFLAGS+=--no-undefined -nostartfiles -nostdlib -nodefaultlibs \
$(PURGATORY): $(PURGATORY_OBJS)
$(MKDIR) -p $(@D)
- $(LD) $(LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^
# $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next reply other threads:[~2008-02-15 5:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 5:27 Geoff Levand [this message]
2008-02-19 6:26 ` [patch] kexec: Use target linker for purgatory Simon Horman
-- strict thread matches above, loose matches on Subject: below --
2007-12-21 0:16 Geoff Levand
2007-12-21 1:28 ` Jeremy Kerr
2007-12-21 1:43 ` Geoff Levand
2007-12-21 1:49 ` Jeremy Kerr
2008-02-12 17:16 ` Geoff Levand
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=47B522B7.5060308@am.sony.com \
--to=geoffrey.levand@am.sony.com \
--cc=horms@verge.net.au \
--cc=jk@ozlabs.org \
--cc=kexec@lists.infradead.org \
/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.