Expand ppc64 comment.
Alan Modra
amodra@bigpond.net.au
Tue Jul 27 05:15:00 GMT 2004
Comitting mainline.
* elf64-ppc.c: Correct "Linker stubs" comment.
Index: bfd/elf64-ppc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-ppc.c,v
retrieving revision 1.148
diff -u -p -r1.148 elf64-ppc.c
--- bfd/elf64-ppc.c 24 Jun 2004 04:46:22 -0000 1.148
+++ bfd/elf64-ppc.c 27 Jul 2004 05:14:30 -0000
@@ -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)
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list