]> 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)
commitebc0ec396775c1fcf055c86e9fc3410e78a21292
tree1cdd6cedaa2f5cd097498396b0ce6e82781f48be
parentb6826c658cfd9537e28260fa87a6e3ccf4887c85
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