This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: make dw2_output_indirect_constant_1 take user_label_prefix into account
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 7 Aug 2003 20:38:50 +0100 (BST)
- Subject: RFA: make dw2_output_indirect_constant_1 take user_label_prefix into account
2003-08-07 J"orn Rennecke <joern.rennecke@superh.com>
* dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
into account.
Index: dwarf2asm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2asm.c,v
retrieving revision 1.34
diff -p -r1.34 dwarf2asm.c
*** dwarf2asm.c 29 Jun 2003 15:19:13 -0000 1.34
--- dwarf2asm.c 7 Aug 2003 19:37:06 -0000
*************** dw2_output_indirect_constant_1 (splay_tr
*** 757,763 ****
sym = (const char *) node->key;
sym_ref = gen_rtx_SYMBOL_REF (Pmode, sym);
if (USE_LINKONCE_INDIRECT)
! fprintf (asm_out_file, "\t.hidden DW.ref.%s\n", sym);
assemble_variable ((tree) node->value, 1, 1, 1);
assemble_integer (sym_ref, POINTER_SIZE / BITS_PER_UNIT, POINTER_SIZE, 1);
--- 757,763 ----
sym = (const char *) node->key;
sym_ref = gen_rtx_SYMBOL_REF (Pmode, sym);
if (USE_LINKONCE_INDIRECT)
! fprintf (asm_out_file, "\t.hidden %sDW.ref.%s\n", user_label_prefix, sym);
assemble_variable ((tree) node->value, 1, 1, 1);
assemble_integer (sym_ref, POINTER_SIZE / BITS_PER_UNIT, POINTER_SIZE, 1);