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/dbxout.c | |
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/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |