From: Alan Modra Date: Mon, 7 Oct 2002 00:06:01 +0000 (+0000) Subject: * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a16d5acb5086e48d8bb6c8ac1a8e6757bc561903;p=binutils-gdb.git * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bf17264f67e..13a97b12db9 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-10-06 Alan Modra * opncls.c: Formatting. diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 91610aae7e8..bf2a6d795f3 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -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;