summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 23:37:34 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 23:37:34 +0000
commit7151fd0e46078735d19ba3c266e02bc66e5bcc84 (patch)
treefcbe8c744f966ea82947350fe8a6c968235df084 /gcc/defaults.h
parentba08da2c50d6a9089afa00750d0c676c740582a8 (diff)
downloadgcc-7151fd0e46078735d19ba3c266e02bc66e5bcc84.tar.gz
* defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
* recog.c (general_operand, immediate_operand, nonmemory_operand) (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P. * regclass.c (record_reg_classes): Likewise. * reload.c (find_reloads): Likewise. * reload1.c (reload): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85512 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 763601c5f7a..cd45f9180ec 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -768,6 +768,10 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define LEGITIMIZE_ADDRESS(X, OLDX, MODE, WIN)
#endif
+#ifndef LEGITIMATE_PIC_OPERAND_P
+#define LEGITIMATE_PIC_OPERAND_P(X) 1
+#endif
+
#ifndef REVERSIBLE_CC_MODE
#define REVERSIBLE_CC_MODE(MODE) 0
#endif