From d3a8b6a672bc5a693331f98d2a3c01e84eb1d786 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Feb 2002 09:08:19 +0000 Subject: [PATCH] Accept LABEL_REFs as well as SYMBOL_REFs from the constant pool. From-SVN: r49542 --- gcc/ChangeLog | 5 +++++ gcc/dbxout.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 501e2c59941..5aaad73fc40 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-06 Nick Clifton + + * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well + as SYMBOL_REFs from the constant pool. + 2002-02-06 Alexandre Oliva * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters diff --git a/gcc/dbxout.c b/gcc/dbxout.c index b449e130284..2db1f3a9fe2 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; } -- 2.30.2