summaryrefslogtreecommitdiff
path: root/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch')
-rw-r--r--packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch b/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch
index 398f904..26df26b 100644
--- a/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch
+++ b/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch
@@ -5,6 +5,12 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57295
Fix c6x mulitibs build for uclinux
Reported by: Dan Tejada <dan.tejada@cantada.com>
+---
+ gcc/config/c6x/c6x.md | 2 +-
+ gcc/config/c6x/predicates.md | 13 +++++++++++++
+ gcc/config/c6x/t-c6x-uclinux | 4 +++-
+ 3 files changed, 17 insertions(+), 2 deletions(-)
+
--- a/gcc/config/c6x/c6x.md
+++ b/gcc/config/c6x/c6x.md
@@ -775,7 +775,7 @@
@@ -16,7 +22,6 @@ Reported by: Dan Tejada <dan.tejada@cantada.com>
{
emit_insn (gen_movmisalign<mode>_store (operands[0], operands[1]));
DONE;
-
--- a/gcc/config/c6x/predicates.md
+++ b/gcc/config/c6x/predicates.md
@@ -224,3 +224,16 @@
@@ -36,7 +41,6 @@ Reported by: Dan Tejada <dan.tejada@cantada.com>
+ (if_then_else (match_test "reload_in_progress")
+ (match_test "strict_memory_address_p (mode, XEXP (op, 0))")
+ (match_test "memory_address_p (mode, XEXP (op, 0))")))))
-
--- a/gcc/config/c6x/t-c6x-uclinux
+++ b/gcc/config/c6x/t-c6x-uclinux
@@ -1,3 +1,5 @@