]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86, gcc-4.6: Use gcc -m options when building vdso
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 14 Dec 2010 00:01:38 +0000 (16:01 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 14 Dec 2010 00:08:37 +0000 (16:08 -0800)
commitde2a8cf98ecdde25231d6c5e7901e2cffaf32af9
treebc71b94d78061d1de007f4e6ea236f25db844c42
parentf1c18071ad70e2a78ab31fc26a18fcfa954a05c6
x86, gcc-4.6: Use gcc -m options when building vdso

The vdso Makefile passes linker-style -m options not to the linker but
to gcc.  This happens to work with earlier gcc, but fails with gcc
4.6.  Pass gcc-style -m options, instead.

Note: all currently supported versions of gcc supports -m32, so there
is no reason to conditionalize it any more.

Reported-by: H. J. Lu <hjl.tools@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
LKML-Reference: <tip-*@git.kernel.org>
Cc: <stable@kernel.org>
arch/x86/vdso/Makefile