Commit d3a8b6a6 by Nick Clifton Committed by Nick Clifton

Accept LABEL_REFs as well as SYMBOL_REFs from the constant pool.

From-SVN: r49542
parent f5ee37f2
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> 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
* dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
......
...@@ -2198,7 +2198,8 @@ dbxout_symbol_location (decl, type, suffix, home) ...@@ -2198,7 +2198,8 @@ dbxout_symbol_location (decl, type, suffix, home)
{ {
rtx tmp = get_pool_constant (current_sym_addr); 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; current_sym_addr = tmp;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment