diff options
author | Ryan Hill <rhill@gentoo.org> | 2013-02-19 05:47:25 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2013-02-19 05:47:25 +0000 |
commit | edca3f00aa7fd68a26c08e8315332cacb0ccdd3c (patch) | |
tree | 7ecd2d1c4f164ce629a9796eb7f8e7fb0ea3911d /4.6.3 | |
parent | Add patches for bug #451680 and #452768. (diff) | |
download | gcc-patches-edca3f00aa7fd68a26c08e8315332cacb0ccdd3c.tar.gz gcc-patches-edca3f00aa7fd68a26c08e8315332cacb0ccdd3c.tar.bz2 gcc-patches-edca3f00aa7fd68a26c08e8315332cacb0ccdd3c.zip |
Backport patch from 4.7 to fix build on m68k (bug #458094).
Diffstat (limited to '4.6.3')
-rw-r--r-- | 4.6.3/gentoo/30_all_m68k_PR43804_T-constraint.patch | 33 | ||||
-rw-r--r-- | 4.6.3/gentoo/README.history | 3 |
2 files changed, 36 insertions, 0 deletions
diff --git a/4.6.3/gentoo/30_all_m68k_PR43804_T-constraint.patch b/4.6.3/gentoo/30_all_m68k_PR43804_T-constraint.patch new file mode 100644 index 0000000..2b701ac --- /dev/null +++ b/4.6.3/gentoo/30_all_m68k_PR43804_T-constraint.patch @@ -0,0 +1,33 @@ +https://bugs.gentoo.org/458094 +http://gcc.gnu.org/PR43804 + + +commit 58ba8f5d02eea2498cd9b1404a2f95d94a4fde2d +Author: schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> +Date: Sun Apr 24 20:04:24 2011 +0000 + + Author: Richard Sandiford <richard.sandiford@linaro.org> + + PR target/43804 + * gcc/config/m68k/constraints.md (T): Allow PIC operands that satisfy + LEGITIMATE_PIC_OPERAND_P. + + + git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172920 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + gcc/ChangeLog | 6 ++++++ + gcc/config/m68k/constraints.md | 3 ++- + 2 files changed, 8 insertions(+), 1 deletion(-) + +--- a/gcc/config/m68k/constraints.md ++++ b/gcc/config/m68k/constraints.md +@@ -94,7 +94,8 @@ + (define_constraint "T" + "Used for operands that satisfy 's' when -mpcrel is not in effect." + (and (match_code "symbol_ref,label_ref,const") +- (match_test "!flag_pic"))) ++ (match_test "!TARGET_PCREL") ++ (match_test "!flag_pic || LEGITIMATE_PIC_OPERAND_P (op)"))) + + (define_memory_constraint "Q" + "Means address register indirect addressing mode." diff --git a/4.6.3/gentoo/README.history b/4.6.3/gentoo/README.history index b101805..5ac7c3b 100644 --- a/4.6.3/gentoo/README.history +++ b/4.6.3/gentoo/README.history @@ -1,3 +1,6 @@ +1.12 19 Feb 2013 + + 30_all_m68k_PR43804_T-constraint.patch + 1.11 21 Jan 2013 + 81_all_arm_4.7_pr48808_VFP_LO_REGS.patch + 82_all_alpha_4.6.4_pr56023_bootstrap.patch |