* contig/tc-sh.c (sh_local_pcrel): New.
authorKaz Kojima <kkojima@rr.iij4u.or.jp>
Thu, 3 Oct 2002 04:58:28 +0000 (04:58 +0000)
committerKaz Kojima <kkojima@rr.iij4u.or.jp>
Thu, 3 Oct 2002 04:58:28 +0000 (04:58 +0000)
commit28602ebff6fc81337532d280732b52df407b394f
treec075e06d16498ad8ffea7ac4a94aeeded4afa7bb
parenta58dd3735c499b8e076e7e283b87361732119191
* contig/tc-sh.c (sh_local_pcrel): New.
(sh_force_relocation): Use sh_local_pcrel.
(md_pcrel_from_section): Check the relocation type whether it
should be resolved locally. Use S_FORCE_RELOC.
* testsuite/gas/sh/pcrel2.d: Check code also.
gas/ChangeLog
gas/config/tc-sh.c
gas/testsuite/ChangeLog
gas/testsuite/gas/sh/pcrel2.d