summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-02-11 21:36:20 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-02-11 21:36:20 -0500
commit6f8e9c7950387ec75ab5dcfb8abb198cbd54d245 (patch)
tree11c457e2650a1c56ae7c080a2f8510c3af38e26f
parent545fb2edbbe4f68488fb2499c9cf1ce613f82af4 (diff)
downloadrt-patches-6f8e9c7950387ec75ab5dcfb8abb198cbd54d245.tar.gz
refresh Loongson-2F-Enable-fixups-of-binutils-2.20.1.patch
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--Loongson-2F-Enable-fixups-of-binutils-2.20.1.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/Loongson-2F-Enable-fixups-of-binutils-2.20.1.patch b/Loongson-2F-Enable-fixups-of-binutils-2.20.1.patch
index 0422696..931d67c 100644
--- a/Loongson-2F-Enable-fixups-of-binutils-2.20.1.patch
+++ b/Loongson-2F-Enable-fixups-of-binutils-2.20.1.patch
@@ -1,4 +1,4 @@
-From 555eed89f0c42c9f3f9f2a38cfbfc0a1a21c81ba Mon Sep 17 00:00:00 2001
+From 749244852cf6915b57049619908594e6b9e67750 Mon Sep 17 00:00:00 2001
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Fri, 4 Sep 2009 15:01:25 +0800
Subject: [PATCH] Loongson-2F: Enable fixups of binutils 2.20.1
@@ -26,7 +26,7 @@ Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
-index 1893efd..fa9577e 100644
+index 0b9c01a..5dcd4fc 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -135,7 +135,9 @@ cflags-$(CONFIG_CPU_LOONGSON2) += -Wa,--trap
@@ -37,9 +37,9 @@ index 1893efd..fa9577e 100644
+ $(call cc-option,-march=loongson2f,-march=r4600) \
+ $(call as-option,-Wa$(comma)-mfix-loongson2f-nop,) \
+ $(call as-option,-Wa$(comma)-mfix-loongson2f-jump,)
-
- cflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \
- -Wa,-mips32 -Wa,--trap
+ # enable the workarounds for loongson2f
+ ifdef CONFIG_CPU_LOONGSON2F_WORKAROUNDS
+ ifeq ($(call as-option,-Wa$(comma)-mfix-loongson2f-nop,),)
--
1.7.1.1