* mi/mi-main.c: Remove code that was commented out in 1999.
[deliverable/binutils-gdb.git] / bfd / elf64-ppc.c
index 6d18fbca76133b49dfb7de09990b9b6cdefa9b47..bbb75e83e24c5725aa4031b3316c58cb7a8d16c5 100644 (file)
@@ -2959,6 +2959,9 @@ ppc64_elf_get_synthetic_symtab (bfd *abfd,
              len = strlen (syms[i]->name);
              memcpy (names, syms[i]->name, len + 1);
              names += len + 1;
+             /* Have udata.p point back to the original symbol this
+                synthetic symbol was derived from.  */
+             s->udata.p = syms[i];
              s++;
            }
        }
@@ -3046,6 +3049,9 @@ ppc64_elf_get_synthetic_symtab (bfd *abfd,
              len = strlen (syms[i]->name);
              memcpy (names, syms[i]->name, len + 1);
              names += len + 1;
+             /* Have udata.p point back to the original symbol this
+                synthetic symbol was derived from.  */
+             s->udata.p = syms[i];
              s++;
            }
        }
This page took 0.027963 seconds and 4 git commands to generate.