This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ppc64 large toc tweaks
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 2 Aug 2010 17:53:25 +0930
- Subject: Re: ppc64 large toc tweaks
- References: <20100729074937.GI16715@bubble.grove.modra.org>
On Thu, Jul 29, 2010 at 05:19:37PM +0930, Alan Modra wrote:
> * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
> in large toc code.
Should have gone in with the above.
* gas/ppc/power4.d: Update for ppc_fix_adjustable change.
Index: gas/testsuite/gas/ppc/power4.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/power4.d,v
retrieving revision 1.6
diff -u -p -r1.6 power4.d
--- gas/testsuite/gas/ppc/power4.d 2 Mar 2005 13:25:01 -0000 1.6
+++ gas/testsuite/gas/ppc/power4.d 29 Jul 2010 07:29:03 -0000
@@ -63,9 +63,9 @@ Disassembly of section \.text:
+34: e0 80 00 00 lq r4,0\(0\)
36: R_PPC64_ADDR16_LO_DS \.text
+38: e0 c3 00 00 lq r6,0\(r3\)
- 3a: R_PPC64_GOT16_DS \.data
+ 3a: R_PPC64_GOT16_DS dsym0
+3c: e0 c3 00 00 lq r6,0\(r3\)
- 3e: R_PPC64_GOT16_LO_DS \.data
+ 3e: R_PPC64_GOT16_LO_DS dsym0
+40: e0 c3 00 00 lq r6,0\(r3\)
42: R_PPC64_PLT16_LO_DS \.data
+44: e0 c3 00 00 lq r6,0\(r3\)
--
Alan Modra
Australia Development Lab, IBM