]> git.karo-electronics.de Git - karo-tx-linux.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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Apr 2011 20:16:10 +0000 (16:16 -0400)
commit744f6b09cec703e9935c2a4813f1311233db1e19
tree6e15ab387657a0ca3f4d08917ca3f9a2b0ea45a7
parentae621e2431fa476dcbe1daf1d9d278085b0e95e3
x86, gcc-4.6: Use gcc -m options when building vdso

commit de2a8cf98ecdde25231d6c5e7901e2cffaf32af9 upstream.

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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/vdso/Makefile