aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-08-03 22:14:21 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-08-03 22:14:21 +0000
commit3bdf9505dbaec2f32d25b4c1bb65c61d414be608 (patch)
tree56c15c7bc57cc549743eadf197b6186fd690168c /bfd/elfxx-mips.c
parent6e6be592e8d934fd5934e6a7b6eab9236c7f76fa (diff)
downloadgdb-3bdf9505dbaec2f32d25b4c1bb65c61d414be608.zip
gdb-3bdf9505dbaec2f32d25b4c1bb65c61d414be608.tar.gz
gdb-3bdf9505dbaec2f32d25b4c1bb65c61d414be608.tar.bz2
bfd/
* elfxx-mips.c (mips_elf_perform_relocation): Update the cross-mode jump message. ld/testsuite/ * ld-mips-elf/mode-change-error-1.d: Update the error message.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index cf1baa8..82743ac 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -5930,11 +5930,12 @@ mips_elf_perform_relocation (struct bfd_link_info *info,
jalx_opcode = 0x1d;
}
- /* If the opcode is not JAL or JALX, there's a problem. */
+ /* If the opcode is not JAL or JALX, there's a problem. We cannot
+ convert J or JALS to JALX. */
if (!ok)
{
(*_bfd_error_handler)
- (_("%B: %A+0x%lx: Direct jumps between ISA modes are not allowed; consider recompiling with interlinking enabled."),
+ (_("%B: %A+0x%lx: Unsupported jump between ISA modes; consider recompiling with interlinking enabled."),
input_bfd,
input_section,
(unsigned long) relocation->r_offset);