aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2010-08-09 19:54:13 +0000
committerCatherine Moore <clm@redhat.com>2010-08-09 19:54:13 +0000
commit776167e8fa07df96f999a0593f1dc536c80bc1cb (patch)
treece1b0617ee4e091e0e24cdcf700bc8dba44983e8 /bfd
parent33e5013ed29270c3b6c5eaf46225e66b0fb6bc2c (diff)
downloadgdb-776167e8fa07df96f999a0593f1dc536c80bc1cb.zip
gdb-776167e8fa07df96f999a0593f1dc536c80bc1cb.tar.gz
gdb-776167e8fa07df96f999a0593f1dc536c80bc1cb.tar.bz2
2010-08-09 Catherine Moore <clm@codesourcery.com>
* elfxx-mips.c (mips_elf_perform_relocation): Improve interlinking error message. 2010-08-09 Catherine Moore <clm@codesourcery.com> * 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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-mips.c2
2 files changed, 6 insertions, 1 deletions
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 <clm@codesourcery.com>
+
+ * elfxx-mips.c (mips_elf_perform_relocation): Improve
+ interlinking error message.
+
2010-08-06 Alan Modra <amodra@gmail.com>
* 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);