diff options
author | Bob Wilson <bob.wilson@acm.org> | 2003-09-15 23:02:31 +0000 |
---|---|---|
committer | Bob Wilson <bwilson@gcc.gnu.org> | 2003-09-15 23:02:31 +0000 |
commit | b9397bb40b4f5dd289adfbe54e52e995d5e98c2c (patch) | |
tree | 7330514242c0e69aa25f35f088e5c54ce3bbe077 /gcc | |
parent | a4cbdc57c8be340db5e10ba32c56c1114858daee (diff) | |
download | gcc-b9397bb40b4f5dd289adfbe54e52e995d5e98c2c.zip gcc-b9397bb40b4f5dd289adfbe54e52e995d5e98c2c.tar.gz gcc-b9397bb40b4f5dd289adfbe54e52e995d5e98c2c.tar.bz2 |
xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use SYMBOL_REF_LOCAL_P.
* config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
SYMBOL_REF_LOCAL_P.
From-SVN: r71411
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/xtensa/xtensa.h | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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. 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) |