From: Alan Modra Date: Mon, 7 Oct 2002 00:06:48 +0000 (+0000) Subject: * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. X-Git-Tag: binutils-2_13_1~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05b265ddac68ca7232d99b38888ffd83113f0c57;p=thirdparty%2Fbinutils-gdb.git * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 60ebb5c313a..9d70814c41a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-10-07 Alan Modra + + * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. + 2002-09-28 Alan Modra * elf.c (map_sections_to_segments): Correct test for start of diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 1a981d2121e..4df75ae5c73 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -5164,6 +5164,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;