* config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
* gas/sh/sh64/eh-1.d: New.
* gas/sh/sh64/eh-1.d: Likewise.
+2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ PR gas/6043
+ * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
+ md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
+
2008-04-04 Adrian Bunk <bunk@stusta.de>
Bob Wilson <bob.wilson@acm.org>
case BFD_RELOC_64:
case BFD_RELOC_64_PCREL:
- know (0 /* Shouldn't get here. */);
- break;
+ /* Fall through. */
default:
/* If section was SHcompact, use its function. */
+2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ PR gas/6043
+ * gas/sh/sh64/eh-1.d: New.
+ * gas/sh/sh64/eh-1.d: Likewise.
+
2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10-1.l: Replace CLMUL with PCLMUL.
--- /dev/null
+#as: --abi=32 --isa=shmedia
+#objdump: -sr
+#source: eh-1.s
+#name: PR gas/6043
+
+.*: file format .*-sh64.*
+
+RELOCATION RECORDS FOR \[\.eh_frame\]:
+OFFSET *TYPE *VALUE
+00000000 R_SH_64_PCREL \.text\+0x00000005
+
+
+Contents of section .eh_frame:
+ 0000 00000000 00000000 .*
--- /dev/null
+! PR gas/6043
+
+ .text
+.LFB1:
+ .section .eh_frame,"a",@progbits
+.LASFDE1:
+ .uaquad .LFB1-.