]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/buildsym.c
Make symbol_set_names a member function
[thirdparty/binutils-gdb.git] / gdb / buildsym.c
index 79f8305763443afc827399ee4c095e98799f3caa..df74508081794dc67d0491d47e7dfa96fc87da5e 100644 (file)
@@ -135,7 +135,7 @@ add_symbol_to_list (struct symbol *symbol, struct pending **listhead)
   struct pending *link;
 
   /* If this is an alias for another symbol, don't add it.  */
-  if (symbol->name && symbol->name[0] == '#')
+  if (symbol->linkage_name () && symbol->linkage_name ()[0] == '#')
     return;
 
   /* We keep PENDINGSIZE symbols in each link of the list.  If we