linux/arch/x86/boot/compressed
H. Peter Anvin 17a2a9b57a x86, compress: Force i386 instructions for the decompressor
Recently, some distros have started shipping versions of gcc which
default to -march=i686.  This breaks building kernels for pre-i686
machines, even if they have been selected in Kconfig, due to the
generation of CMOV instructions.

There isn't enough benefit to try to preserve the generation of these
instructions even when selected, so simply force -march=i386 for the
decompressor when building a 32-bit kernel.

Reported-and-tested-by: Chris Rankin <rankincj@yahoo.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <219280.97558.qm@web52907.mail.re2.yahoo.com>
2009-12-25 15:40:38 -08:00
..
.gitignore x86, boot: add new generated files to the appropriate .gitignore files 2009-06-02 21:13:30 -07:00
head_32.S x86: convert compressed loader to use __HEAD and HEAD_TEXT macros. 2009-09-18 10:21:49 -07:00
head_64.S x86, boot: Simplify setting of the PAE bit 2009-10-24 11:06:38 +02:00
Makefile x86, compress: Force i386 instructions for the decompressor 2009-12-25 15:40:38 -08:00
misc.c x86, boot: correct sanity checks in boot/compressed/misc.c 2009-05-12 11:33:08 -07:00
mkpiggy.c x86, boot: determine compressed code offset at compile time 2009-05-08 17:46:34 -07:00
relocs.c x86: Regex support and known-movable symbols for relocs, fix _end 2009-12-14 13:55:20 -08:00
vmlinux.lds.S x86: Eliminate redundant/contradicting cache line size config options 2009-11-19 04:58:34 +01:00