Commit 368f4cd6 by Nick Clifton Committed by Nick Clifton

Accept LABEL_REFs as well as SYMBOL_REFs in mem_loc_descriptor()

From-SVN: r28891
parent b7e89a77
Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
* dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
as SYMBOL_REFs.
1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
* system.h: Don't redefine abort or trim_filename.
......
......@@ -6615,6 +6615,10 @@ mem_loc_descriptor (rtl)
add_loc_descr (&mem_loc_result, new_loc_descr (DW_OP_deref, 0, 0));
break;
case LABEL_REF:
/* Some ports can transform a symbol ref into a label ref, because
the symbol ref is too far away and has to be dumped into a constant
pool. */
case CONST:
case SYMBOL_REF:
mem_loc_result = new_loc_descr (DW_OP_addr, 0, 0);
......
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