From: Alan Modra Date: Tue, 27 Jul 2004 05:16:51 +0000 (+0000) Subject: * elf64-ppc.c: Correct "Linker stubs" comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c66dc6cea30b674eebfe9472aa499654242068f;p=binutils-gdb.git * elf64-ppc.c: Correct "Linker stubs" comment. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ff86f84376a..3b7a2d5fc46 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-07-27 Alan Modra + + * elf64-ppc.c: Correct "Linker stubs" comment. + 2004-07-26 H.J. Lu * 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 PR 240 diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 2b640414c41..d269b9f8d60 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)