diff options
author | Alan Modra <amodra@gmail.com> | 2007-06-27 06:42:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-06-27 06:42:14 +0000 |
commit | 60b31e8d17901051e1fefd271c4681e8c16ef459 (patch) | |
tree | d585b2f77f1b791f0f99e64adf574de5553f5e9b /bfd/elf32-ppc.c | |
parent | 2cea28dd72dfead04b0cb710634fa03fdb7b6d77 (diff) | |
download | gdb-60b31e8d17901051e1fefd271c4681e8c16ef459.zip gdb-60b31e8d17901051e1fefd271c4681e8c16ef459.tar.gz gdb-60b31e8d17901051e1fefd271c4681e8c16ef459.tar.bz2 |
* elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over
input bfds.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index bf5bcf3..0e36be6 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -3703,7 +3703,7 @@ ppc_elf_select_plt_layout (bfd *output_bfd ATTRIBUTE_UNUSED, --secure-plt and we never see REL16 relocs. */ if (plt_type == PLT_UNSET) plt_type = PLT_OLD; - for (ibfd = info->input_bfds; ibfd; ibfd = ibfd->next) + for (ibfd = info->input_bfds; ibfd; ibfd = ibfd->link_next) if (is_ppc_elf_target (ibfd->xvec)) { if (ppc_elf_tdata (ibfd)->has_rel16) |