OSDN Git Service

* dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Aug 2003 13:45:50 +0000 (13:45 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Aug 2003 13:45:50 +0000 (13:45 +0000)
into account.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70322 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2asm.c

index 2c4e5de..cd28cf7 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-11  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
+       into account.
+
 2003-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * builtins.c (expand_builtin_strcat): Optimize constant strings.
 2003-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * builtins.c (expand_builtin_strcat): Optimize constant strings.
index cd1b91a..84b878f 100644 (file)
@@ -757,7 +757,7 @@ dw2_output_indirect_constant_1 (splay_tree_node node,
   sym = (const char *) node->key;
   sym_ref = gen_rtx_SYMBOL_REF (Pmode, sym);
   if (USE_LINKONCE_INDIRECT)
   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);
+    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);
 
   assemble_variable ((tree) node->value, 1, 1, 1);
   assemble_integer (sym_ref, POINTER_SIZE / BITS_PER_UNIT, POINTER_SIZE, 1);