aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-07-27 05:16:51 +0000
committerAlan Modra <amodra@gmail.com>2004-07-27 05:16:51 +0000
commit2c66dc6cea30b674eebfe9472aa499654242068f (patch)
tree3789f9453528b7390bb8a988eb8cef42c9afd846 /bfd/elf64-ppc.c
parente22f895c475bd0d646bc4a52435fc1d1bc11e175 (diff)
downloadgdb-2c66dc6cea30b674eebfe9472aa499654242068f.zip
gdb-2c66dc6cea30b674eebfe9472aa499654242068f.tar.gz
gdb-2c66dc6cea30b674eebfe9472aa499654242068f.tar.bz2
* elf64-ppc.c: Correct "Linker stubs" comment.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 2b64041..d269b9f 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -2669,7 +2669,10 @@ struct plt_entry
. bctr
ppc_stub_plt_call:
- Used to call a function in a shared library.
+ Used to call a function in a shared library. If it so happens that
+ the plt entry referenced crosses a 64k boundary, then an extra
+ "addis %r12,%r12,1" will be inserted before the load at xxx+8 or
+ xxx+16 as appropriate.
. addis %r12,%r2,xxx@toc@ha
. std %r2,40(%r1)
. ld %r11,xxx+0@toc@l(%r12)