]> gcc.gnu.org Git - gcc.git/commitdiff
xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use SYMBOL_REF_LOCAL_P.
authorBob Wilson <bob.wilson@acm.org>
Mon, 15 Sep 2003 23:02:31 +0000 (23:02 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Mon, 15 Sep 2003 23:02:31 +0000 (23:02 +0000)
* config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
SYMBOL_REF_LOCAL_P.

From-SVN: r71411

gcc/ChangeLog
gcc/config/xtensa/xtensa.h

index c7a5ed62b78c71164abd0b86c80847e74dd300ef..e94bd5d3e9f18fe9f0703bcc99b73b6f2e283976 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-15  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
+       SYMBOL_REF_LOCAL_P.
+
 2003-09-15  Kazu Hirata  <kazu@cs.umass.edu>
 
        * expr.h (DEFAULT_FUNCTION_ARG_PADDING): New.
index c99d15da611205fc8c4ff2762b6bac6feab3ba59..621dd5fbbb67740262474bdf4e48384791cea4e0 100644 (file)
@@ -1102,7 +1102,7 @@ typedef struct xtensa_args {
    operand on the target machine when generating position independent
    code.  */
 #define LEGITIMATE_PIC_OPERAND_P(X)                                    \
-  ((GET_CODE (X) != SYMBOL_REF || SYMBOL_REF_FLAG (X))                 \
+  ((GET_CODE (X) != SYMBOL_REF || SYMBOL_REF_LOCAL_P (X))              \
    && GET_CODE (X) != LABEL_REF                                                \
    && GET_CODE (X) != CONST)
 
This page took 0.077691 seconds and 5 git commands to generate.