elf64-ppc.c question
Alan Modra
amodra@bigpond.net.au
Sun Oct 6 17:04:00 GMT 2002
On Sun, Oct 06, 2002 at 11:16:42PM +0200, Jakub Jelinek wrote:
> Maybe I'm too sleepy, but where is indx incremented in
> ppc64_elf_build_stubs?
Oops! And thanks..
* elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
Index: bfd/elf64-ppc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-ppc.c,v
retrieving revision 1.64
diff -u -p -r1.64 elf64-ppc.c
--- bfd/elf64-ppc.c 26 Sep 2002 05:19:12 -0000 1.64
+++ bfd/elf64-ppc.c 7 Oct 2002 00:00:23 -0000
@@ -5161,6 +5161,7 @@ ppc64_elf_build_stubs (info)
}
bfd_put_32 (htab->sglink->owner,
B_DOT | ((htab->sglink->contents - p) & 0x3fffffc), p);
+ indx++;
p += 4;
}
htab->sglink->_cooked_size = p - htab->sglink->contents;
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list