+2002-01-31 Nick Clifton <nickc@cambridge.redhat.com>
+ Don Lindsay <lindsayd@cisco.com>
+
+ * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return
+ false' with a return of a bfd_reloc_ error code.
+
2002-01-31 Hans-Peter Nilsson <hp@axis.com>
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
{
g = mips_elf_local_got_index (abfd, info, symbol + addend);
if (g == (bfd_vma) -1)
- return false;
+ return bfd_reloc_outofrange;
}
/* Convert GOT indices to actual offsets. */
symbol,
&value,
input_section))
- return false;
+ return bfd_reloc_undefined;
}
else
{
local_sections, false);
value = mips_elf_got16_entry (abfd, info, symbol + addend, forced);
if (value == (bfd_vma) -1)
- return false;
+ return bfd_reloc_outofrange;
value
= mips_elf_got_offset_from_index (elf_hash_table (info)->dynobj,
abfd,
case R_MIPS_GOT_PAGE:
value = mips_elf_got_page (abfd, info, symbol + addend, NULL);
if (value == (bfd_vma) -1)
- return false;
+ return bfd_reloc_outofrange;
value = mips_elf_got_offset_from_index (elf_hash_table (info)->dynobj,
abfd,
value);