From 6fe8f0c7950af66191426965f964c8f333686418 Mon Sep 17 00:00:00 2001 From: amodra Date: Wed, 27 Jun 2007 07:12:52 +0000 Subject: [PATCH] * elf32-spu.c (spu_elf_create_sections): Properly iterate over input bfds. --- bfd/ChangeLog | 1 + bfd/elf32-spu.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fb3883a2ce..a35e408636 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 844eee6ca2..fcda1e3484 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; -- 2.11.0