* dbxread.c, buildsym.c, symtab.c, stabsread.c: Add support for
[deliverable/binutils-gdb.git] / gdb / buildsym.c
index 6c944072e035a673a2ebd2dbcb6094b624f3102b..806d700ec80194fa0cdf0ea169e573ff6b8c07a0 100644 (file)
@@ -95,6 +95,11 @@ add_symbol_to_list (symbol, listhead)
      struct pending **listhead;
 {
   register struct pending *link;
+
+  /* If this is a reference to/live alias for another symbol, don't add it.
+     We don't want to be able to look up the live references directly. */
+  if (symbol->ginfo.name && symbol->ginfo.name[0] == '#')
+    return;
       
   /* We keep PENDINGSIZE symbols in each link of the list.
      If we don't have a link with room in it, add a new link.  */
This page took 0.023573 seconds and 4 git commands to generate.