This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: secure-plt layout not selected
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Wed, 27 Jun 2007 16:42:56 +0930
- Subject: Re: secure-plt layout not selected
- References: <20070627064141.GE4612@bubble.grove.modra.org>
On Wed, Jun 27, 2007 at 04:11:41PM +0930, Alan Modra wrote:
> * elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over
> input bfds.
Ho hum, there's another one here.
* elf32-spu.c (spu_elf_create_sections): Properly iterate over
input bfds.
Index: bfd/elf32-spu.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-spu.c,v
retrieving revision 1.17
diff -u -p -r1.17 elf32-spu.c
--- bfd/elf32-spu.c 12 May 2007 06:45:33 -0000 1.17
+++ bfd/elf32-spu.c 27 Jun 2007 07:00:44 -0000
@@ -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;
--
Alan Modra
IBM OzLabs - Linux Technology Centre