aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@mageia.org>2020-01-19 16:24:06 +0200
committerAlan Modra <amodra@gmail.com>2020-01-22 17:14:08 +1030
commitc48acf6f26713427fb6870a8551a89ac12838e7b (patch)
tree951a518a5b015cbc60b85efac0cc40d0c203613d /ld
parent1e1613647fc5da78f7924f8264b09eeed6362987 (diff)
downloadgdb-c48acf6f26713427fb6870a8551a89ac12838e7b.zip
gdb-c48acf6f26713427fb6870a8551a89ac12838e7b.tar.gz
gdb-c48acf6f26713427fb6870a8551a89ac12838e7b.tar.bz2
PR25417, Fix minor typos
PR 25417 binutils/ * readelf.c (get_alpha_symbol_other): Fix error message typo. ld/ * ldlang.c (ldlang_open_ctf): Fix error message typo. * emultempl/z80elf.em (z80_elf_after_open): Likewise.
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)