diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-15 18:31:45 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-15 18:31:45 +0000 |
commit | b6e3379c1e9545fb8003d85d2353aa0467ec1f9b (patch) | |
tree | 46265ecf55e614adcedb928b4081c0c3d5d5b2b5 /gcc/config/mn10300/constraints.md | |
parent | d87c5d2422660182672d1313577ee5e42f9402ef (diff) | |
download | gcc-b6e3379c1e9545fb8003d85d2353aa0467ec1f9b.tar.gz |
gcc/
* config/mn10300/mn10300.h (OUTPUT_ADDR_CONST_EXTRA): Handle
UNSPEC_GOTSYM_OFFs.
* config/mn10300/mn10300.c (legitimate_pic_operand_p): Return true
for UNSPEC_GOTSYM_OFFs.
* config/mn10300/mn10300.md (UNSPEC_GOTSYM_OFF): New unspec.
(add_GOT_to_pic_reg): Use it.
* config/mn10300/constraints.md (S): Allow UNSPEC_GOTSYM_OFF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141148 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10300/constraints.md')
-rw-r--r-- | gcc/config/mn10300/constraints.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/mn10300/constraints.md b/gcc/config/mn10300/constraints.md index 53f128750c7..8dbf63a75ba 100644 --- a/gcc/config/mn10300/constraints.md +++ b/gcc/config/mn10300/constraints.md @@ -68,7 +68,8 @@ (if_then_else (match_test "flag_pic") (and (match_test "GET_CODE (op) == UNSPEC") (ior (match_test "XINT (op, 1) == UNSPEC_PLT") - (match_test "XINT (op, 1) == UNSPEC_PIC"))) + (match_test "XINT (op, 1) == UNSPEC_PIC") + (match_test "XINT (op, 1) == UNSPEC_GOTSYM_OFF"))) (match_test "GET_CODE (op) == SYMBOL_REF"))) ;; Integer constraints |