[PATCH] libdwelf: fix spelling typos in strings returned by dwelf_elf_e_machine_string

Dmitry V. Levin ldv@altlinux.org
Sat Dec 12 01:06:00 GMT 2020


embeded -> embedded
Semicondutor -> Semiconductor

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
 libdwelf/ChangeLog                    | 5 +++++
 libdwelf/dwelf_elf_e_machine_string.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/libdwelf/ChangeLog b/libdwelf/ChangeLog
index 008bdeb1..9d05390c 100644
--- a/libdwelf/ChangeLog
+++ b/libdwelf/ChangeLog
@@ -1,3 +1,8 @@
+2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+	* dwelf_elf_e_machine_string.c (dwelf_elf_e_machine_string): Fix
+	spelling typos in returned strings.
+
 2020-06-04  Mark Wielaard  <mark@klomp.org>
 
 	* dwelf_elf_e_machine_string.c (dwelf_elf_e_machine_string):
diff --git a/libdwelf/dwelf_elf_e_machine_string.c b/libdwelf/dwelf_elf_e_machine_string.c
index 86fa7523..387648e2 100644
--- a/libdwelf/dwelf_elf_e_machine_string.c
+++ b/libdwelf/dwelf_elf_e_machine_string.c
@@ -117,7 +117,7 @@ dwelf_elf_e_machine_string (int machine)
     case EM_PCP:
       return "Siemens PCP";
     case EM_NCPU:
-      return "Sony nCPU embeded RISC";
+      return "Sony nCPU embedded RISC";
     case EM_NDR1:
       return "Denso NDR1 microprocessor";
     case EM_STARCORE:
@@ -289,11 +289,11 @@ dwelf_elf_e_machine_string (int machine)
     case EM_STXP7X:
       return "STMicroelectronics STxP7x";
     case EM_NDS32:
-      return "Andes Technology compact code size embeded RISC";
+      return "Andes Technology compact code size embedded RISC";
     case EM_ECOG1X:
       return "Cyan Technology eCOG1X";
     case EM_MAXQ30:
-      return "Dallas Semicondutor MAXQ30";
+      return "Dallas Semiconductor MAXQ30";
     case EM_XIMO16:
       return "New Japan Radio (NJR) 16-bit DSP";
     case EM_MANIK:
-- 
ldv


More information about the Elfutils-devel mailing list