* elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
authorHans-Peter Nilsson <hp@axis.com>
Mon, 1 Oct 2001 00:16:27 +0000 (00:16 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 1 Oct 2001 00:16:27 +0000 (00:16 +0000)
commit146be91a2b42ebb323b6fe953bd3ae0ceb8322f1
tree9b36ab1b8c836f63e528c6b07960337ba1769067
parent79ad6e9430e46f7eef0bf719563fef77820df63f
* elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
partial_inplace, matching assembler output.  Set src_mask to
all ones.
(sh_elf_relocate_section): Delete misplaced comment.
For relocatable linking against section symbol, call
_bfd_relocate_contents for partial_inplace relocs and adjust
rel->r_addend for others.
<case R_SH_DIR32, R_SH_REL32>: Fetch partial_inplace addend with
bfd_get_32, not at rel->r_addend.
bfd/ChangeLog
bfd/elf32-sh.c