aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-10-07 00:06:01 +0000
committerAlan Modra <amodra@gmail.com>2002-10-07 00:06:01 +0000
commita16d5acb5086e48d8bb6c8ac1a8e6757bc561903 (patch)
treec98f0262f2d9bbbff37012cfc49dd79a7384483e /bfd/elf64-ppc.c
parent33d77d9173578f5c636797f6e75e40780a182b89 (diff)
downloadgdb-a16d5acb5086e48d8bb6c8ac1a8e6757bc561903.zip
gdb-a16d5acb5086e48d8bb6c8ac1a8e6757bc561903.tar.gz
gdb-a16d5acb5086e48d8bb6c8ac1a8e6757bc561903.tar.bz2
* elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 91610aa..bf2a6d7 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;