From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from outbound-sin.frontbridge.com ([207.46.51.80] helo=outbound8-sin-R.bigfish.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1J5Vu2-0002NI-Uv for kexec@lists.infradead.org; Fri, 21 Dec 2007 00:38:23 +0000 Message-ID: <476B05C0.30201@am.sony.com> Date: Thu, 20 Dec 2007 16:16:00 -0800 From: Geoff Levand MIME-Version: 1.0 Subject: [patch] kexec: Use target linker for purgatory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: kexec@lists.infradead.org Cc: Jeremy Kerr From: Geoff Levand Pugatory files need to be linked with the target linker, not the build linker. Signed-off-by: Geoff Levand --- 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