From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from outbound-dub.frontbridge.com ([213.199.154.16] helo=outbound7-dub-R.bigfish.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1JOykS-0007uy-2x for kexec@lists.infradead.org; Tue, 12 Feb 2008 17:16:55 +0000 Message-ID: <47B1D476.8080503@am.sony.com> Date: Tue, 12 Feb 2008 09:16:38 -0800 From: Geoff Levand MIME-Version: 1.0 Subject: Re: [patch] kexec: Use target linker for purgatory References: <476B05C0.30201@am.sony.com> In-Reply-To: <476B05C0.30201@am.sony.com> 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 Hello... This needs to be merged. On 12/20/2007 04:16 PM, Geoff Levand wrote: > 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