* elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
commit327f072ffc4e7847968c5f8cf302f6f72ac0703f
authorHans-Peter Nilsson <hp@axis.com>
Mon, 1 Oct 2001 00:16:27 +0000 (1 00:16 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 1 Oct 2001 00:16:27 +0000 (1 00:16 +0000)
tree4fb0ac3de00960ffdd0e73e9422bd6846a598c40
parentc03e759414b815365291213202be88eb625839f7
* 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