for BFD_RELOC_32_PLT_PCREL.
* sh/gas/sh/pic.s: Add a test for ".long foo@PLT+.-2-label".
* sh/gas/sh/pic.d: Add expected output.
+2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * config/tc-sh.c (md_apply_fix3): Take account of fx_offset
+ for BFD_RELOC_32_PLT_PCREL.
+
2002-11-30 Alan Modra <amodra@bigpond.net.au>
* dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
/* Make the jump instruction point to the address of the operand. At
runtime we merely add the offset to the actual PLT entry. */
* valP = 0xfffffffc;
- val = 0;
+ val = fixP->fx_offset;
if (fixP->fx_subsy)
val -= S_GET_VALUE (fixP->fx_subsy);
fixP->fx_addnumber = val;
+2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * sh/gas/sh/pic.s: Add a test for ".long foo@PLT+.-2-label".
+ * sh/gas/sh/pic.d: Add expected output.
+
2002-11-29 Nick Clifton <nickc@redhat.com>
* gas/arm/arch5tej.s: Replace "nop"s with tests of breakpoint
0x00000040 00 00 \.word 0x0000
40: R_SH_PLT32 foo
0x00000042 00 14 mov\.b r1,@\(r0,r0\)
+0x00000044 00 00 \.word 0x0000
+ 44: R_SH_PLT32 foo
+0x00000046 00 1e mov\.l @\(r0,r1\),r0
.long foo@PLT + . - (.LPLTcall_old + 2)
.Lfooplt_new:
.long foo@PLT - (.LPLTcall_new + 2 - .)
+.Lfooplt_old2:
+ .long foo@PLT + . - 2 - .LPLTcall_old