1[PATCH] sparc32: Add -Av8 to assembler command line. 2 3Newer version of binutils are more strict about specifying the 4correct options to enable certain classes of instructions. 5 6The sparc32 build is done for v7 in order to support sun4c systems 7which lack hardware integer multiply and divide instructions. 8 9So we have to pass -Av8 when building the assembler routines that 10use these instructions and get patched into the kernel when we find 11out that we have a v8 capable cpu. 12 13Reported-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> 14Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> 15--- 16 arch/sparc/Makefile | 2 +- 17 1 files changed, 1 insertions(+), 1 deletions(-) 18 19diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile 20index ad1fb5d..eddcfb3 100644 21--- a/arch/sparc/Makefile 22+++ b/arch/sparc/Makefile 23@@ -31,7 +31,7 @@ UTS_MACHINE := sparc 24 25 #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 26 KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 27-KBUILD_AFLAGS += -m32 28+KBUILD_AFLAGS += -m32 -Wa,-Av8 29 30 #LDFLAGS_vmlinux = -N -Ttext 0xf0004000 31 # Since 2.5.40, the first stage is left not btfix-ed. 32