summaryrefslogtreecommitdiffstats
path: root/target/linux/leon/patches/027-sparc_v8_assembler.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-16 16:32:55 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-16 16:32:55 +0000
commit763c067152ac8f8acc6a4920bd335254435feb2b (patch)
tree2e0e2146effb547c681faed71e1cd042af250d90 /target/linux/leon/patches/027-sparc_v8_assembler.patch
parent8642151a3411335fe43e3b93ad1c867c1ed7b6d7 (diff)
[leon] move patches to patches-2.6.36
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34220 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/leon/patches/027-sparc_v8_assembler.patch')
-rw-r--r--target/linux/leon/patches/027-sparc_v8_assembler.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/leon/patches/027-sparc_v8_assembler.patch b/target/linux/leon/patches/027-sparc_v8_assembler.patch
deleted file mode 100644
index 5baea94f7..000000000
--- a/target/linux/leon/patches/027-sparc_v8_assembler.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-[PATCH] 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@xxxxxxxxxxxxx>
-Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
----
- arch/sparc/Makefile | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
-index ad1fb5d..eddcfb3 100644
---- a/arch/sparc/Makefile
-+++ b/arch/sparc/Makefile
-@@ -31,7 +31,7 @@ UTS_MACHINE := sparc
-
- #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7
- KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
--KBUILD_AFLAGS += -m32
-+KBUILD_AFLAGS += -m32 -Wa,-Av8
-
- #LDFLAGS_vmlinux = -N -Ttext 0xf0004000
- # Since 2.5.40, the first stage is left not btfix-ed.