+2014-07-24 Martin Liska <mliska@suse.cz>
+
+ * rs6000.c (rs6000_xcoff_declare_function_name): Correct symtab_node
+ funtion used.
+ (rs6000_xcoff_declare_object_name): Likewise.
+
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
* mt-nios2-elf: New file.
(DECL_ASSEMBLER_NAME (node->decl)) = 1;
TREE_CHAIN (DECL_ASSEMBLER_NAME (node->decl))
= (node->alias_target ? node->alias_target
- : DECL_ASSEMBLER_NAME (symtab_alias_target (node)->decl));
+ : DECL_ASSEMBLER_NAME (node->get_alias_target ()->decl));
}
#endif
fputs (TARGET_32BIT ? "[DS]\n" : "[DS],3\n", file);
RS6000_OUTPUT_BASENAME (file, buffer);
fputs (":\n", file);
- symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
+ symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
fputs (TARGET_32BIT ? "\t.long ." : "\t.llong .", file);
RS6000_OUTPUT_BASENAME (file, buffer);
fputs (", TOC[tc0], 0\n", file);
RS6000_OUTPUT_BASENAME (file, buffer);
fputs (":\n", file);
data.function_descriptor = true;
- symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
+ symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
if (write_symbols != NO_DEBUG && !DECL_IGNORED_P (decl))
xcoffout_declare_function (file, decl, buffer);
return;
struct declare_alias_data data = {file, false};
RS6000_OUTPUT_BASENAME (file, name);
fputs (":\n", file);
- symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
+ symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
}
#ifdef HAVE_AS_TLS