backends: fix spelling typos in comments
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 12 Dec 2020 16:50:20 +0000 (19:50 +0300)
committerMark Wielaard <mark@klomp.org>
Sat, 12 Dec 2020 17:06:28 +0000 (18:06 +0100)
adress -> address
sigle -> single

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
backends/ChangeLog
backends/aarch64_retval.c
backends/ppc_cfi.c

index e88dedf..f22cd57 100644 (file)
@@ -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.
index 1308340..72d4e8a 100644 (file)
@@ -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);
index 55169ae..b470036 100644 (file)
@@ -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