diff options
author | Andi Kleen <ak@suse.de> | 2006-01-11 22:43:54 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 19:04:52 -0800 |
commit | bb33421dde79f9a36d5485c56335ff178ac7d268 (patch) | |
tree | f4b8843d9295c1efb550e869352e578cb8667ce1 /arch/x86_64/ia32/vsyscall-syscall.S | |
parent | 79c62cf1789f935280138b412bb750be84aec747 (diff) | |
download | blackbird-op-linux-bb33421dde79f9a36d5485c56335ff178ac7d268.tar.gz blackbird-op-linux-bb33421dde79f9a36d5485c56335ff178ac7d268.zip |
[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>
Diffstat (limited to 'arch/x86_64/ia32/vsyscall-syscall.S')
-rw-r--r-- | arch/x86_64/ia32/vsyscall-syscall.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/ia32/vsyscall-syscall.S b/arch/x86_64/ia32/vsyscall-syscall.S index b024965bb689..cf9ef678de3e 100644 --- a/arch/x86_64/ia32/vsyscall-syscall.S +++ b/arch/x86_64/ia32/vsyscall-syscall.S @@ -6,6 +6,7 @@ #include <asm/asm-offsets.h> #include <asm/segment.h> + .code32 .text .section .text.vsyscall,"ax" .globl __kernel_vsyscall |