From bce03d3da87e892ff24475217dd76c4d0c18f8c2 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 13 Oct 2002 21:22:31 +0000 Subject: * 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ba16bd99ad4..1c25594d9ab 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,14 @@ +2002-10-13 Alexandre Oliva + + * 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(). + 2002-10-12 Stephane Carrez * elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs -- cgit v1.2.1