* bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub

calling relocations.
This commit is contained in:
Thiemo Seufer 2006-06-09 13:47:41 +00:00
parent 5f4df3dd7b
commit f38c2df572
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-06-09 David Ung <davidu@mips.com>
* bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub
calling relocations.
2006-06-08 David Daney <ddaney@avtrex.com>
* elfxx-mips.c (STUB_LI16): Removed.

View File

@ -4074,6 +4074,8 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
}
symbol = sec->output_section->vma + sec->output_offset;
/* The target is 16-bit, but the stub isn't. */
target_is_16_bit_code_p = FALSE;
}
/* If this is a 16-bit call to a 32- or 64-bit function with a stub, we
need to redirect the call to the stub. */