]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* symtab.c (dump_symtab_base): Fix dumping of asm lists.
authorJan Hubicka <jh@suse.cz>
Fri, 20 Apr 2012 07:10:20 +0000 (09:10 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 20 Apr 2012 07:10:20 +0000 (07:10 +0000)
From-SVN: r186609

gcc/ChangeLog
gcc/symtab.c

index c30ae192427999b6e2ffbb93eed90fe0257415da..a91416f7adb432d86ab27cfb1cf24db1b73a5953 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-19  Jan Hubicka  <jh@suse.cz>
+
+       * symtab.c (dump_symtab_base): Fix dumping of asm lists.
+
 2012-04-19  David Edelsohn  <dje.gcc@gmail.com>
 
        * config/rs6000/sync.md (fetchop_name): Change ior attribute to "or".
index 38194b353fb6d8cebe46c7f3f8e0a43bd7f740ba..75078b089bac9744bd83089600dd72268816c111 100644 (file)
@@ -378,6 +378,8 @@ dump_symtab_base (FILE *f, symtab_node node)
     fprintf (f, " in_other_partition");
   if (node->symbol.used_from_other_partition)
     fprintf (f, " used_from_other_partition");
+  if (node->symbol.force_output)
+    fprintf (f, " force_output");
   if (node->symbol.resolution != LDPR_UNKNOWN)
     fprintf (f, " %s",
             ld_plugin_symbol_resolution_names[(int)node->symbol.resolution]);
@@ -420,13 +422,13 @@ dump_symtab_base (FILE *f, symtab_node node)
             node->symbol.same_comdat_group->symbol.order);
   if (node->symbol.next_sharing_asm_name)
     fprintf (f, "  next sharing asm name: %i\n",
-            node->symbol.same_comdat_group->symbol.order);
+            node->symbol.next_sharing_asm_name->symbol.order);
   if (node->symbol.previous_sharing_asm_name)
     fprintf (f, "  previous sharing asm name: %i\n",
-            node->symbol.same_comdat_group->symbol.order);
+            node->symbol.previous_sharing_asm_name->symbol.order);
 
   if (node->symbol.address_taken)
-    fprintf (f, "  Address is taken.");
+    fprintf (f, "  Address is taken.\n");
 
   fprintf (f, "  References: ");
   ipa_dump_references (f, &node->symbol.ref_list);