secure-plt layout not selected
Alan Modra
amodra@bigpond.net.au
Wed Jun 27 06:41:00 GMT 2007
Found during a glibc build.
* elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over
input bfds.
Index: bfd/elf32-ppc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-ppc.c,v
retrieving revision 1.215
diff -u -p -r1.215 elf32-ppc.c
--- bfd/elf32-ppc.c 15 May 2007 13:55:53 -0000 1.215
+++ bfd/elf32-ppc.c 27 Jun 2007 06:41:21 -0000
@@ -3703,7 +3703,7 @@ ppc_elf_select_plt_layout (bfd *output_b
--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)
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list