]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9454ca01efc425f7474e5e1179f0e244268613c9
tree1cdd6cedaa2f5cd097498396b0ce6e82781f48be
parent2ae17f96c6f01b1638e2806316dc040a507df0a8
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