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)
commitece2cfceeefe9ff624cc01a363dba4b5be2a849c
tree00524b1708c6622e7e58bd0d3a7994380b2a95a2
parente59d6306cd4961522043b285a667a51af9dad1fb
* 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