summaryrefslogtreecommitdiff
path: root/packages/gcc/4.9.4
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-11 02:00:59 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit86c2982568de1ad4d4cc12a65b19231331484405 (patch)
tree2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/gcc/4.9.4
parent1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff)
Run patches thru `manage-packages -P`
This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc/4.9.4')
-rw-r--r--packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch8
-rw-r--r--packages/gcc/4.9.4/0034-c++17-build-failure.patch8
2 files changed, 12 insertions, 4 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 @@
diff --git a/packages/gcc/4.9.4/0034-c++17-build-failure.patch b/packages/gcc/4.9.4/0034-c++17-build-failure.patch
index cc56aca..f545c85 100644
--- a/packages/gcc/4.9.4/0034-c++17-build-failure.patch
+++ b/packages/gcc/4.9.4/0034-c++17-build-failure.patch
@@ -4,8 +4,12 @@ Fixes
Fixed upstream in GCC6+ in d57c99458933.
---- gcc-4.9.4/gcc/reload.h 2022-01-01 15:51:43.293254281 -0800
-+++ gcc-4.9.4/gcc/reload.h 2022-01-01 15:51:58.437424873 -0800
+---
+ gcc/reload.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/gcc/reload.h
++++ b/gcc/reload.h
@@ -166,7 +166,7 @@
value indicates the level of indirect addressing supported, e.g., two
means that (MEM (MEM (REG n))) is also valid if (REG n) does not get