From 35dc6e06960790cd60b890c14e45f82f110b898f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 3 Dec 2016 20:57:50 +1030 Subject: [PATCH] PowerPC64 add_symbol_adjust * elf64-ppc.c (add_symbol_adjust): Delete dead code. --- bfd/ChangeLog | 4 ++++ bfd/elf64-ppc.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7ec26b01b97..733735c9791 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2016-12-03 Alan Modra + + * elf64-ppc.c (add_symbol_adjust): Delete dead code. + 2016-12-03 Alan Modra * elf64-ppc.c (add_symbol_adjust): Correct order of tests for diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index d7d6adb9342..1256ead0669 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -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) -- 2.30.2