diff options
-rw-r--r-- | config/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 6 |
4 files changed, 14 insertions, 4 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 1079c7fb6fc..85f18e78c4f 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 893100c81b1..cee82abe9d4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-07-24 Martin Liska <mliska@suse.cz> + + * cgraphunit.c (compile): Correct function used. + 2014-07-24 Jan Hubicka <hubicka@ucw.cz> * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 34f4c81eb84..3080b9a5921 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -2246,7 +2246,7 @@ compile (void) (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 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index d7bd9701aec..2466402f33f 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -29595,7 +29595,7 @@ rs6000_xcoff_declare_function_name (FILE *file, const char *name, tree decl) 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); @@ -29605,7 +29605,7 @@ rs6000_xcoff_declare_function_name (FILE *file, const char *name, tree decl) 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; @@ -29621,7 +29621,7 @@ rs6000_xcoff_declare_object_name (FILE *file, const char *name, tree decl) 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 |