From: Andi Kleen Date: Wed, 11 Jan 2006 21:43:54 +0000 (+0100) Subject: [PATCH] x86_64: Allow compilation on a 32bit biarch toolchain X-Git-Tag: v2.6.16-rc1~350 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb33421dde79f9a36d5485c56335ff178ac7d268;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed