From 4463c67fbb03edc9cc624b33084c15dae0927a71 Mon Sep 17 00:00:00 2001 From: bwilson Date: Mon, 15 Sep 2003 23:02:31 +0000 Subject: [PATCH] * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use SYMBOL_REF_LOCAL_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71411 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/xtensa/xtensa.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c7a5ed6..e94bd5d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-09-15 Bob Wilson + + * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use + SYMBOL_REF_LOCAL_P. + 2003-09-15 Kazu Hirata * expr.h (DEFAULT_FUNCTION_ARG_PADDING): New. diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index c99d15d..621dd5f 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -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) -- 2.7.4