[bfd]
commit9baa793ea0836e3b435be03276a0c60b790d0037
authorKaz Kojima <kkojima@rr.iij4u.or.jp>
Wed, 15 Oct 2003 06:23:55 +0000 (15 06:23 +0000)
committerKaz Kojima <kkojima@rr.iij4u.or.jp>
Wed, 15 Oct 2003 06:23:55 +0000 (15 06:23 +0000)
tree62df2af562b4bbdc5f534e1e7deb7d875c641c02
parenta681638b3a35a457f4d710d395a5bfed6df84f38
[bfd]
* elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
relocations.
(sh_elf_check_relocs): Likewise.

* elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf_merge_symbol_attribute): New.
* elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf64_merge_symbol_attribute): New.

[ld/testsuite]
* ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy
the output of linker to the file tmpdir/*-dso.so.
* ld-sh/sh64/stobin-0-dso.d: New.
* ld-sh/sh64/stobin-1.d: New.
* ld-sh/sh64/stobin.s: New.
* ld-sh/sh64/stolib.s: New.
bfd/ChangeLog
bfd/elf32-sh.c
bfd/elf32-sh64.c
bfd/elf64-sh64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-sh/sh64/rd-sh64.exp
ld/testsuite/ld-sh/sh64/stobin-0-dso.d [new file with mode: 0644]
ld/testsuite/ld-sh/sh64/stobin-1.d [new file with mode: 0644]
ld/testsuite/ld-sh/sh64/stobin.s [new file with mode: 0644]
ld/testsuite/ld-sh/sh64/stolib.s [new file with mode: 0644]