ChangeSet 1.2065.3.2, 2005/03/12 08:21:09-08:00, [EMAIL PROTECTED]

        [PATCH] ppc64: fix linking zImage with biarch ld
        
        I noticed that with the vDSO patch in 2.6.11-bk, it's almost possible to
        build the kernel with the fedora biarch toolchain.  However, I still get
        warnings from ld about zImage being the wrong architecture, unless I 
change
        the script as shown in this patch.
        
        I'm not sure if this breaks setups with old binutils that might not
        understand powerpc:common, otherwise please apply.
        
        (benh said: "Our toolchain guru says this shouldn't break unless your
        binutils are completely rotten...")
        
        Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]>
        Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 zImage.lds |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/arch/ppc64/boot/zImage.lds b/arch/ppc64/boot/zImage.lds
--- a/arch/ppc64/boot/zImage.lds        2005-03-12 21:24:41 -08:00
+++ b/arch/ppc64/boot/zImage.lds        2005-03-12 21:24:41 -08:00
@@ -1,4 +1,4 @@
-OUTPUT_ARCH(powerpc)
+OUTPUT_ARCH(powerpc:common)
 SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); 
SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
 /* Do we need any of these for elf?
    __DYNAMIC = 0;    */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to