From 776167e8fa07df96f999a0593f1dc536c80bc1cb Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Mon, 9 Aug 2010 19:54:13 +0000 Subject: 2010-08-09 Catherine Moore * elfxx-mips.c (mips_elf_perform_relocation): Improve interlinking error message. 2010-08-09 Catherine Moore * ld-mips-elf/mode-change-error-1.d: New. * ld-mips-elf/mode-change-error-1a.s: New. * ld-mips-elf/mode-change-error-1b.s: New. * ld-mips-elf/mips-elf.exp: Run new test. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e79fa19..c1c9054 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-08-09 Catherine Moore + + * elfxx-mips.c (mips_elf_perform_relocation): Improve + interlinking error message. + 2010-08-06 Alan Modra * elf64-ppc.c (ha_reloc_match): Allow matches to other than r2. diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 7b89a83..e9a9c27 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -5641,7 +5641,7 @@ mips_elf_perform_relocation (struct bfd_link_info *info, if (!ok) { (*_bfd_error_handler) - (_("%B: %A+0x%lx: jump to stub routine which is not jal"), + (_("%B: %A+0x%lx: Direct jumps between ISA modes are not allowed; consider recompiling with interlinking enabled."), input_bfd, input_section, (unsigned long) relocation->r_offset); -- cgit v1.1