]> err.no Git - linux-2.6/commit
[PATCH] x86_64: Allow compilation on a 32bit biarch toolchain
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:43:54 +0000 (22:43 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:52 +0000 (19:04 -0800)
commitbb33421dde79f9a36d5485c56335ff178ac7d268
treef4b8843d9295c1efb550e869352e578cb8667ce1
parent79c62cf1789f935280138b412bb750be84aec747
[PATCH] x86_64: Allow compilation on a 32bit biarch toolchain

This might help on distributions that use a 32bit biarch compiler.

First pass -m64 by default.

Secondly add some more .code32s because at least the Ubuntu biarch
32bit as called by gcc doesn't seem to handle -m64 -m32 as generated
by the Makefile without such assistance.

And finally make sure the linker script can be preprocessed
with a 32bit cpp.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/Makefile
arch/x86_64/ia32/vsyscall-sigreturn.S
arch/x86_64/ia32/vsyscall-syscall.S
arch/x86_64/ia32/vsyscall-sysenter.S
arch/x86_64/kernel/vmlinux.lds.S