* elf32-spu.c (spu_elf_create_sections): Properly iterate over

input bfds.
This commit is contained in:
Alan Modra 2007-06-27 07:12:54 +00:00
parent 60b31e8d17
commit 58eb693ef1
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over
input bfds.
* elf32-spu.c (spu_elf_create_sections): Likewise.
2007-06-26 H.J. Lu <hongjiu.lu@intel.com>

View File

@ -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;