diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2002-02-06 09:08:19 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2002-02-06 09:08:19 +0000 |
commit | d3a8b6a672bc5a693331f98d2a3c01e84eb1d786 (patch) | |
tree | 7a26182e7953e7250a389bff97bf7ec9975d4482 /gcc | |
parent | f5ee37f2cedda8160d79a3ab2d0cde7bdb7bb6c6 (diff) | |
download | gcc-d3a8b6a672bc5a693331f98d2a3c01e84eb1d786.zip gcc-d3a8b6a672bc5a693331f98d2a3c01e84eb1d786.tar.gz gcc-d3a8b6a672bc5a693331f98d2a3c01e84eb1d786.tar.bz2 |
Accept LABEL_REFs as well as SYMBOL_REFs from the constant pool.
From-SVN: r49542
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dbxout.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 501e2c5..5aaad73 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> + + * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well + as SYMBOL_REFs from the constant pool. + 2002-02-06 Alexandre Oliva <aoliva@redhat.com> * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters diff --git a/gcc/dbxout.c b/gcc/dbxout.c index b449e13..2db1f3a 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -2198,7 +2198,8 @@ dbxout_symbol_location (decl, type, suffix, home) { rtx tmp = get_pool_constant (current_sym_addr); - if (GET_CODE (tmp) == SYMBOL_REF) + if (GET_CODE (tmp) == SYMBOL_REF + || GET_CODE (tmp) == LABEL_REF) current_sym_addr = tmp; } |