OSDN Git Service

* elfxx-mips.c (mips_elf_calculate_relocation): Take
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 13 Oct 2002 21:22:31 +0000 (21:22 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 13 Oct 2002 21:22:31 +0000 (21:22 +0000)
commit0db6b299be4ae708fea0d376e09ea2712c7c5748
treea58dceba1aeffd6abc192fd68323d872b34869a1
parent6dc448ec53b219c2562bcb2dda0ebe38c2190d18
* elfxx-mips.c (mips_elf_calculate_relocation): Take
save_addend argument.  Don't apply the 32-bit mask to a
GPREL32 value if it's to be used in another relocation.  Don't
use forced-check computation of local_p to decide whether to
add gp0 to GPREL16 value.  Don't use only the lowest 16 bits
of the addend of a non-in-place GPREL16 relocation.
(_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to
mips_elf_calculate_relocation().
bfd/ChangeLog
bfd/elfxx-mips.c