This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Expand ppc64 comment.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]