aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emultempl/z80elf.em2
-rw-r--r--ld/ldlang.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 369ffee..d8949bb 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
+
+ PR 25417
+ * ldlang.c (ldlang_open_ctf): Fix error message typo.
+ * emultempl/z80elf.em (z80_elf_after_open): Likewise.
+
2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-elf/pr23900-1.d: Adjusted.
diff --git a/ld/emultempl/z80elf.em b/ld/emultempl/z80elf.em
index 7a55fff..4b03e79 100644
--- a/ld/emultempl/z80elf.em
+++ b/ld/emultempl/z80elf.em
@@ -48,7 +48,7 @@ z80_elf_after_open (void)
{
if ((new_mach == EF_Z80_MACH_R800 || mach == EF_Z80_MACH_R800) ||
(new_mach == EF_Z80_MACH_GBZ80 || mach == EF_Z80_MACH_GBZ80))
- einfo (_("%F%P: %pB: Istruction set of object files mismatched\n"),
+ einfo (_("%F%P: %pB: Instruction set of object files mismatched\n"),
abfd);
else if (mach < new_mach)
mach = new_mach;
diff --git a/ld/ldlang.c b/ld/ldlang.c
index e100c05..91c160b 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -3659,7 +3659,7 @@ ldlang_open_ctf (void)
if ((ctf_output = ctf_create (&err)) != NULL)
return;
- einfo (_("%P: warning: CTF output not created: `s'\n"),
+ einfo (_("%P: warning: CTF output not created: `%s'\n"),
ctf_errmsg (err));
LANG_FOR_EACH_INPUT_STATEMENT (errfile)