diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-24 20:04:24 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-24 20:04:24 +0000 |
commit | 58ba8f5d02eea2498cd9b1404a2f95d94a4fde2d (patch) | |
tree | 9a9a9c6c40c2d2c20c1b6c45a3294fd1d705a5a4 /gcc/config/m68k/constraints.md | |
parent | 525380f58eb4decad9db73d9f192c03cd71f9a1a (diff) | |
download | gcc-58ba8f5d02eea2498cd9b1404a2f95d94a4fde2d.tar.gz |
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
Diffstat (limited to 'gcc/config/m68k/constraints.md')
-rw-r--r-- | gcc/config/m68k/constraints.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68k/constraints.md b/gcc/config/m68k/constraints.md index a4885cda6ca..0fb30078d66 100644 --- 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." |