aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-05-01 13:35:34 +0000
committerAlan Modra <amodra@gmail.com>2007-05-01 13:35:34 +0000
commit79ac49f00dba37d0e3d05940ff512a2c97b9cd49 (patch)
tree67a2fb3972b13c9bff54405e4896ec8bdeaa03e0 /ld
parent9344ff29511f1014a188c089a82d4415cfcb30cb (diff)
downloadgdb-79ac49f00dba37d0e3d05940ff512a2c97b9cd49.zip
gdb-79ac49f00dba37d0e3d05940ff512a2c97b9cd49.tar.gz
gdb-79ac49f00dba37d0e3d05940ff512a2c97b9cd49.tar.bz2
* ldlang.c (lang_check): Error on architecture mismatch.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlang.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 165e07e..42162f1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-01 Robert Millan <rmh@aybabtu.com>
+
+ * ldlang.c (lang_check): Error on architecture mismatch.
+
2007-04-30 Alan Modra <amodra@bigpond.net.au>
* ldmain.c (link_callbacks): Init info and minfo fields.
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 116f2e5..3211681 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -5156,7 +5156,7 @@ lang_check (void)
if (compatible == NULL)
{
if (command_line.warn_mismatch)
- einfo (_("%P: warning: %s architecture of input file `%B'"
+ einfo (_("%P%X: warning: %s architecture of input file `%B'"
" is incompatible with %s output\n"),
bfd_printable_name (input_bfd), input_bfd,
bfd_printable_name (output_bfd));