diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-06-09 13:47:41 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-06-09 13:47:41 +0000 |
commit | f38c2df5728b0e2313fda4b47a54b8497e3db574 (patch) | |
tree | 67c2ee3a631d46fec26a79b581002887e9fb45da /bfd/elfxx-mips.c | |
parent | 5f4df3dd7b34d45fc2d97f727f907f076cb8705c (diff) | |
download | gdb-f38c2df5728b0e2313fda4b47a54b8497e3db574.zip gdb-f38c2df5728b0e2313fda4b47a54b8497e3db574.tar.gz gdb-f38c2df5728b0e2313fda4b47a54b8497e3db574.tar.bz2 |
* 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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |