Commit 1d95eeb2 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Linus Torvalds

[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: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6abb21f4
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; */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment