OSDN Git Service

* config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2003 23:02:31 +0000 (23:02 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2003 23:02:31 +0000 (23:02 +0000)
SYMBOL_REF_LOCAL_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71411 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c7a5ed6..e94bd5d 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 c99d15d..621dd5f 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)