diff options
author | Alan Modra <amodra@gmail.com> | 2007-06-27 07:12:54 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-06-27 07:12:54 +0000 |
commit | 58eb693ef13be6d0fb010269bac6942ebf8ab12f (patch) | |
tree | 37a651b24c364c440e1ada51bfc56f2892aa3e8e /bfd/elf32-spu.c | |
parent | 60b31e8d17901051e1fefd271c4681e8c16ef459 (diff) | |
download | gdb-58eb693ef13be6d0fb010269bac6942ebf8ab12f.zip gdb-58eb693ef13be6d0fb010269bac6942ebf8ab12f.tar.gz gdb-58eb693ef13be6d0fb010269bac6942ebf8ab12f.tar.bz2 |
* elf32-spu.c (spu_elf_create_sections): Properly iterate over
input bfds.
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r-- | bfd/elf32-spu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 844eee6..fcda1e3 100644 --- a/bfd/elf32-spu.c +++ b/bfd/elf32-spu.c @@ -533,7 +533,7 @@ spu_elf_create_sections (bfd *output_bfd, htab->stack_analysis = stack_analysis; htab->emit_stack_syms = emit_stack_syms; - for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->next) + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next) if (bfd_get_section_by_name (ibfd, SPU_PTNOTE_SPUNAME) != NULL) break; |