[bfd]
authorKaz Kojima <kkojima@rr.iij4u.or.jp>
Wed, 15 Oct 2003 06:23:55 +0000 (06:23 +0000)
committerKaz Kojima <kkojima@rr.iij4u.or.jp>
Wed, 15 Oct 2003 06:23:55 +0000 (06:23 +0000)
commit46e993b970891cc96da82849a3b22fd769fe609a
tree7fe6d347d890b6ba47e0049f5d23dcc9d90d9cd3
parent3d390fc11a544515512973496879f277ef64fc42
[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]