summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mcore/mcore.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e224af256c0..b498b3150f6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -12,6 +12,10 @@
* config/fr30/fr30.md: Include predicates.md.
* config/fr30/predicates.md: New.
+ * config/mcore/mcore.h (PREDICATE_CODES): Add SYMBOL_REF and
+ LABEL_REF to mcore_general_movsrc_operand. Add SYMBOL_REF to
+ mcore_call_address_operand.
+
2005-04-04 Alan Modra <amodra@bigpond.net.au>
* passes.c (rest_of_handle_final): NULL unlikely_text_section_name
diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h
index 4f68c632300..c5b52594608 100644
--- a/gcc/config/mcore/mcore.h
+++ b/gcc/config/mcore/mcore.h
@@ -1128,7 +1128,7 @@ extern long mcore_current_compilation_timestamp;
#define PREDICATE_CODES \
{ "mcore_arith_reg_operand", { REG, SUBREG }}, \
- { "mcore_general_movsrc_operand", { MEM, CONST_INT, REG, SUBREG }},\
+ { "mcore_general_movsrc_operand", { MEM, CONST_INT, REG, SUBREG, SYMBOL_REF, LABEL_REF }},\
{ "mcore_general_movdst_operand", { MEM, CONST_INT, REG, SUBREG }},\
{ "mcore_reload_operand", { MEM, REG, SUBREG }}, \
{ "mcore_arith_J_operand", { CONST_INT, REG, SUBREG }}, \
@@ -1144,6 +1144,6 @@ extern long mcore_current_compilation_timestamp;
{ "mcore_compare_operand", { CONST_INT, REG, SUBREG }}, \
{ "mcore_load_multiple_operation", { PARALLEL }}, \
{ "mcore_store_multiple_operation", { PARALLEL }}, \
- { "mcore_call_address_operand", { REG, SUBREG, CONST_INT }}, \
+ { "mcore_call_address_operand", { REG, SUBREG, CONST_INT, SYMBOL_REF }}, \
#endif /* ! GCC_MCORE_H */