]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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 16:02:34 +0000 (09:02 -0700)
commit60eba3f83735efbb3125708a37542a2c93123fea
tree31afa0e1f188d72d934c656b3571231e68856fe7
parent2053689f68e19b8c1bb38aa68049c57576eed6e0
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