[PATCH 02/12] backends: fix spelling typos in comments

Dmitry V. Levin ldv@altlinux.org
Sat Dec 12 16:50:20 GMT 2020


adress -> address
sigle -> single

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

diff --git a/backends/ChangeLog b/backends/ChangeLog
index e88dedf9..f22cd57f 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,9 @@
+2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+	* aarch64_retval.c (aarch64_return_value_location): Fix spelling typo
+	in comment.
+	* ppc_cfi.c (ppc_abi_cfi): Likewise.
+
 2020-11-17  Mark Wielard  <mark@klomp.org>
 
 	* x86_64_symbol.c (x86_64_check_reloc_target_type): New function.
diff --git a/backends/aarch64_retval.c b/backends/aarch64_retval.c
index 1308340b..72d4e8a3 100644
--- a/backends/aarch64_retval.c
+++ b/backends/aarch64_retval.c
@@ -332,7 +332,7 @@ aarch64_return_value_location (Dwarf_Die *functypedie, const Dwarf_Op **locp)
 	      switch (size)
 		{
 		case 2: /* half */
-		case 4: /* sigle */
+		case 4: /* single */
 		case 8: /* double */
 		case 16: /* quad */
 		  return pass_in_simd (locp);
diff --git a/backends/ppc_cfi.c b/backends/ppc_cfi.c
index 55169aef..b4700360 100644
--- a/backends/ppc_cfi.c
+++ b/backends/ppc_cfi.c
@@ -42,7 +42,7 @@ ppc_abi_cfi (Ebl *ebl __attribute__ ((unused)), Dwarf_CIE *abi_info)
     {
       /* This instruction is provided in every CIE.  It is not repeated here:
 	 DW_CFA_def_cfa, ULEB128_7 (1), ULEB128_7 (0)  */
-      /* r1 is assumed to be restored from cfa adress,
+      /* r1 is assumed to be restored from cfa address,
 	 r1 acts as a stack frame pointer.  */
       DW_CFA_val_offset, ULEB128_7 (1), ULEB128_7 (0),
       /* lr is not callee-saved but it needs to be preserved as it is pre-set
-- 
ldv


More information about the Elfutils-devel mailing list