From: Al Viro Date: Wed, 28 Sep 2005 23:31:14 +0000 (+0100) Subject: [PATCH] ppc32 ld.script fix for building on ppc64 X-Git-Tag: v2.6.14-rc3~62 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fcdfcd90526c8c5c2bd117fd3713f8f0f1a46a8;p=linux-2.6 [PATCH] ppc32 ld.script fix for building on ppc64 In arch/ppc/boot/ld.script we need OUTPUT_ARCH(powerpc:common) for the same reasons why we need it in vmlinux.lds.S; when we build on ppc64 box, we need to be explicit about the target. See http://linus.bkbits.net:8080/linux-2.5/cset@1.1784.8.10 for the corresponding fix in vmlinux.lds.S. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/ppc/boot/ld.script b/arch/ppc/boot/ld.script index 9362193742..d4dd8f1539 100644 --- a/arch/ppc/boot/ld.script +++ b/arch/ppc/boot/ld.script @@ -1,4 +1,4 @@ -OUTPUT_ARCH(powerpc) +OUTPUT_ARCH(powerpc:common) SECTIONS { /* Read-only sections, merged into text segment: */