OSDN Git Service

* 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)
commit885db41275c74532d042d2654208b8453777c35e
tree142f2f63996bff8676b52e3d888f5bce58abafc9
parentc565d81ef498fc207729d70132fceee49e2b8026
* 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