aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parente22f895c475bd0d646bc4a52435fc1d1bc11e175 (diff)
downloadgdb-2c66dc6cea30b674eebfe9472aa499654242068f.zip
gdb-2c66dc6cea30b674eebfe9472aa499654242068f.tar.gz
gdb-2c66dc6cea30b674eebfe9472aa499654242068f.tar.bz2
* elf64-ppc.c: Correct "Linker stubs" comment.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf64-ppc.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ff86f84..3b7a2d5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-27 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c: Correct "Linker stubs" comment.
+
2004-07-26 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (bfd_elf_section_data): Add a pointer for the
@@ -141,7 +145,7 @@
(elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64. Change
bfd_put_64 to bfd_putl64.
(elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise.
-
+
2004-07-09 H.J. Lu <hongjiu.lu@intel.com>
PR 240
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)