From f38c2df5728b0e2313fda4b47a54b8497e3db574 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Fri, 9 Jun 2006 13:47:41 +0000 Subject: [PATCH] * bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub calling relocations. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-mips.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4f8b9dc..35db545 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-06-09 David Ung + + * bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub + calling relocations. + 2006-06-08 David Daney * elfxx-mips.c (STUB_LI16): Removed. diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 4591781..638815f 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. */ -- 2.7.4