sparc32: Add -Av8 to assembler command line.
authorDavid S. Miller <davem@davemloft.net>
Wed, 14 Mar 2012 01:19:51 +0000 (18:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2012 15:57:59 +0000 (08:57 -0700)
commitd17a17faf0334f2c95e922fb21a612cfea5b99ce
treefc3bb3f413e277ddb7873d8f0319c3950abed2e2
parentaf73826949dc1ea1fd25990c0145a309fbe66b86
sparc32: Add -Av8 to assembler command line.

commit e0adb9902fb338a9fe634c3c2a3e474075c733ba upstream.

Newer version of binutils are more strict about specifying the
correct options to enable certain classes of instructions.

The sparc32 build is done for v7 in order to support sun4c systems
which lack hardware integer multiply and divide instructions.

So we have to pass -Av8 when building the assembler routines that
use these instructions and get patched into the kernel when we find
out that we have a v8 capable cpu.

Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/Makefile