aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-12-03 20:57:50 +1030
committerAlan Modra <amodra@gmail.com>2016-12-03 20:57:50 +1030
commit35dc6e06960790cd60b890c14e45f82f110b898f (patch)
treee906abf0bc430c249bea4e86974f547f1aac1af3 /bfd/elf64-ppc.c
parent8400d40d954ec3b4a3fe9200645a1b6e90ba46f4 (diff)
downloadgdb-35dc6e06960790cd60b890c14e45f82f110b898f.zip
gdb-35dc6e06960790cd60b890c14e45f82f110b898f.tar.gz
gdb-35dc6e06960790cd60b890c14e45f82f110b898f.tar.bz2
PowerPC64 add_symbol_adjust
* elf64-ppc.c (add_symbol_adjust): Delete dead code.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index d7d6adb..1256ead 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)