]> 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>
Mon, 21 Mar 2011 19:44:27 +0000 (12:44 -0700)
commitf0d5275394231c918760612ad5ea1992b64353a0
tree485f4af5e013103247f90f73bfea811b226ae6f6
parentb5d59533fbb7c72bc1e87fa0a96d51d7a45e1c25
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