]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Mar 2012 01:19:51 +0000 (18:19 -0700)
commit469c4f0c0552be224d4a38d379b0cfe2b402033a
tree3a8ad1f18a11f848ba016a99ee564216271049e8
parent1c968a865b5a93d7887ae6392a80c4b0bd7da8d4
sparc32: Add -Av8 to assembler command line.

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>
arch/sparc/Makefile