elf64-ppc.c typo fix
Alan Modra
amodra@bigpond.net.au
Wed Dec 4 03:08:00 GMT 2002
Fixes a ld --no-keep-memory problem. Trying to read the relocs from
the output bfd isn't very successful, unless they happen to be cached
with the section data.
* elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.
Index: bfd/elf64-ppc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-ppc.c,v
retrieving revision 1.74
diff -u -p -r1.74 elf64-ppc.c
--- bfd/elf64-ppc.c 30 Nov 2002 08:39:38 -0000 1.74
+++ bfd/elf64-ppc.c 4 Dec 2002 11:02:55 -0000
@@ -3586,7 +3586,7 @@ ppc64_elf_edit_opd (obfd, info)
sym_hashes = elf_sym_hashes (ibfd);
/* Read the relocations. */
- relstart = _bfd_elf64_link_read_relocs (obfd, sec, (PTR) NULL,
+ relstart = _bfd_elf64_link_read_relocs (ibfd, sec, (PTR) NULL,
(Elf_Internal_Rela *) NULL,
info->keep_memory);
if (relstart == NULL)
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list