summaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-06-09 13:47:41 +0000
committerThiemo Seufer <ths@networkno.de>2006-06-09 13:47:41 +0000
commita23a2cd1d0722b8839719a1a0c68e033ab6b5a27 (patch)
treed6f847f249a1d2da2df79c485526bca4d802795e /bfd/elfxx-mips.c
parent05c4a4e3aea67ee5db0917632beb3fa53ed1534f (diff)
downloadgdb-a23a2cd1d0722b8839719a1a0c68e033ab6b5a27.tar.gz
* bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub
calling relocations.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 45917811a40..638815f0208 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -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. */