kbuild: Fix gcc -x syntax
Jean Delvare authored
This is upstream commit b1e0d8b7


backported to the 2.6.32.x stable branch.

The correct syntax for gcc -x is "gcc -x assembler", not
"gcc -xassembler". Even though the latter happens to work, the former
is what is documented in the manual page and thus what gcc wrappers
such as icecream do expect.

This isn't a cosmetic change. The missing space prevents icecream from
recognizing compilation tasks it can't handle, leading to silent kernel
miscompilations.

Besides me, credits go to Michael Matz and Dirk Mueller for
investigating the miscompilation issue and tracking it down to this
incorrect -x parameter syntax.
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Cc: stable@vger.kernel.org
Cc: Bernhard Walle <bernhard@bwalle.de>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
56fb3d90
Name Last commit Last update
..
basic Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next
dtc dtc: Mark various internal functions static
genksyms genksyms: Mark is_reserved_word static
kconfig kbuild: Fix gcc -x syntax
ksymoops Linux-2.6.12-rc2
mod kbuild: Fix modpost segfault
package kbuild: fix the binrpm-pkg target to work with KBUILD_OUTPUT set
rt-tester [PATCH] rtmutex: Modify rtmutex-tester to test the setscheduler propagation
selinux Fix all -Wmissing-prototypes warnings in x86 defconfig
tracing tracing, perf: Convert the power tracer into an event tracer
.gitignore gitignore: ignore scripts/ihex2fw
Kbuild.include kbuild: Fix gcc -x syntax
Lindent scripts/Lindent: support gnu indent v2.2.10
Makefile sparc: Kill PROM console driver.
Makefile.build kbuild: Don't define ALIGN and ENTRY when preprocessing linker scripts.
Makefile.clean kbuild: fix some minor typoes
Makefile.fwinst firmware: silence __fw_modbuild and __fw_modinst 'Nothing to be done' messages
Makefile.headersinst kbuild: fix "Argument list too long" error for "make headers_check",
Makefile.host kbuild: fix some minor typoes
Makefile.lib kbuild: Fix size_append issue for bzip2/lzma kernel
Makefile.modinst Revert "kbuild: strip generated symbols from *.ko"
Makefile.modpost tracing: Remove markers
bin2c.c Linux-2.6.12-rc2
binoffset.c update the email address of Randy Dunlap
bloat-o-meter fix bloat-o-meter for ppc64
bootgraph.pl
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
config
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.pl
kallsyms.c
kernel-doc
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.pl
setlocalversion
show_delta
tags.sh
unifdef.c
ver_linux