PowerPC64 add_symbol_adjust

* elf64-ppc.c (add_symbol_adjust): Delete dead code.
This commit is contained in:
Alan Modra 2016-12-03 20:57:50 +10:30
parent 8400d40d95
commit 35dc6e0696
2 changed files with 4 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2016-12-03 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (add_symbol_adjust): Delete dead code.
2016-12-03 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (add_symbol_adjust): Correct order of tests for

View File

@ -5195,14 +5195,6 @@ ppc64_elf_before_check_relocs (bfd *ibfd, struct bfd_link_info *info)
p = &eh->u.next_dot_sym;
}
/* Clear the list for non-ppc64 input files. */
p = &htab->dot_syms;
while ((eh = *p) != NULL)
{
*p = NULL;
p = &eh->u.next_dot_sym;
}
/* We need to fix the undefs list for any syms we have twiddled to
undefweak. */
if (htab->twiddled_syms)