diff options
author | Nick Clifton <nickc@cygnus.com> | 1999-08-26 08:47:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1999-08-26 08:47:03 +0000 |
commit | 368f4cd6f3270385da2a3f2b845039e83d3740cd (patch) | |
tree | 6a4778e337506efbf46cfc656ce577647b6824d4 /gcc/dwarf2out.c | |
parent | b7e89a77953615d574d892b1abbccca02d656948 (diff) | |
download | gcc-368f4cd6f3270385da2a3f2b845039e83d3740cd.zip gcc-368f4cd6f3270385da2a3f2b845039e83d3740cd.tar.gz gcc-368f4cd6f3270385da2a3f2b845039e83d3740cd.tar.bz2 |
Accept LABEL_REFs as well as SYMBOL_REFs in mem_loc_descriptor()
From-SVN: r28891
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 500d41e..bcb9476 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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); |