2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/arch/x86_64/boot/compressed
Paolo 'Blaisorblade' Giarrusso b3698c03eb [PATCH] Fix boot code head.S warning
When compiling a 64-bit kernel on an Ubuntu 6.06 32bit system (whose GCC is also
a cross-compiler for x86_64) I've seen that head.o is compiled as a 64-bit file
(while it should not) and ld complaining about this during linking:
[AK: it happens on all systems with new binutils]

ld: warning: i386:x86-64 architecture of input file
`arch/x86_64/boot/compressed/head.o' is incompatible with i386 output

I've verified that removing -m64 from compilation flags to turn
"-m64 -traditional -m32" into "-traditional -m32" fixes the issue.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andi Kleen <ak@suse.de>
2006-09-26 10:52:37 +02:00
..
head.S [PATCH] x86_64: coding style and whitespace fixups 2005-06-25 16:25:02 -07:00
Makefile [PATCH] Fix boot code head.S warning 2006-09-26 10:52:37 +02:00
misc.c [PATCH] i386/x86-64: Consolidate arch/{i386,x86_64}/boot/compressed/misc.c 2006-06-26 10:48:18 -07:00
vmlinux.scr Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00