sparc32: Add -Wa,-Av8 to KBUILD_CFLAGS.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Jan 2016 16:47:29 +0000 (11:47 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 05:24:04 +0000 (00:24 -0500)
commit22be3b105597002ad3499bdb9c0aba49c9ab05f7
tree1cdd6cedaa2f5cd097498396b0ce6e82781f48be
parentca0bb0798022732773752fee97bb633c6f3623d2
sparc32: Add -Wa,-Av8 to KBUILD_CFLAGS.

Binutils used to be (erroneously) extremely permissive about
instruction usage.  But that got fixed and if you don't properly tell
it to accept classes of instructions it will fail.

This uncovered a specs bug on sparc in gcc where it wouldn't pass the
proper options to binutils options.

Deal with this in the kernel build by adding -Wa,-Av8 to KBUILD_CFLAGS.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Makefile