]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:34 +0000 (13:58 -0800)
commit832407f92081af87a2f5227c80c207ea6ee89f2e
treebd690a251db515491b0077a2f5f23ea185c3b5be
parent108d7726b7508b8aefce1f91ba97e56842f47f74
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: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/vdso/Makefile