summaryrefslogtreecommitdiff
path: root/gcc/config/mips/predicates.md
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-08-08 15:06:05 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-08-08 15:06:05 +0000
commit67da85da7923399850541459ffb67c812ef0625d (patch)
tree307c2200e7bb246635fe7f59e68a7dc2395047e7 /gcc/config/mips/predicates.md
parent76b4f0f724ae26bf9f7a6ed3b888d4360fd6ea5d (diff)
downloadgcc-67da85da7923399850541459ffb67c812ef0625d.tar.gz
mips-protos.h (SYMBOL_GENERAL): Rename to...
gcc/ * config/mips/mips-protos.h (SYMBOL_GENERAL): Rename to... (SYMBOL_ABSOLUTE): ...this. (SYMBOL_SMALL_DATA): Rename to... (SYMBOL_GP_RELATIVE): ...this. (SYMBOL_CONSTANT_POOL): Rename to... (SYMBOL_PC_RELATIVE): ...this. * config/mips/mips.c (mips_classify_symbol, mips_symbolic_constant_p) (mips_symbolic_address_p, mips_symbol_insns, override_options) (mips_rewrite_small_data_p, mips_use_anchors_for_symbol_p): Update after above changes. * config/mips/predicates.md (const_call_insn_operand): Likewise. (general_symbolic_operand): Rename to... (absolute_symbolic_operand): ...this. * config/mips/mips.md: Update after above changes. From-SVN: r127294
Diffstat (limited to 'gcc/config/mips/predicates.md')
-rw-r--r--gcc/config/mips/predicates.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mips/predicates.md b/gcc/config/mips/predicates.md
index f567b348162..7f69f983b6c 100644
--- a/gcc/config/mips/predicates.md
+++ b/gcc/config/mips/predicates.md
@@ -101,7 +101,7 @@
switch (symbol_type)
{
- case SYMBOL_GENERAL:
+ case SYMBOL_ABSOLUTE:
/* We can only use direct calls for TARGET_ABSOLUTE_ABICALLS if we
are sure that the target function does not need $25 to be live
on entry. This is true for any locally-defined function because
@@ -229,11 +229,11 @@
return mips_symbolic_constant_p (op, &type);
})
-(define_predicate "general_symbolic_operand"
+(define_predicate "absolute_symbolic_operand"
(match_code "const,symbol_ref,label_ref")
{
enum mips_symbol_type type;
- return mips_symbolic_constant_p (op, &type) && type == SYMBOL_GENERAL;
+ return mips_symbolic_constant_p (op, &type) && type == SYMBOL_ABSOLUTE;
})
(define_predicate "got_disp_operand"