]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[sim] Rename local variable in ARMul_NthReg
authorTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 12:07:38 +0000 (13:07 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 12:07:38 +0000 (13:07 +0100)
Rename local variable in ARMul_NthReg from upto to up_to, to avoid being
rewritten by gdb/contrib/spellcheck.sh.

Approved-By: Tom Tromey <tom@tromey.com>
sim/arm/armsupp.c

index 1a5eeaff1d65fe80be3968d1ecb8577e8e6b3184..9fcc7f646faf473c247c249c05bc1dbfff0a45c6 100644 (file)
@@ -388,11 +388,11 @@ ModeToBank (ARMword mode)
 unsigned
 ARMul_NthReg (ARMword instr, unsigned number)
 {
-  unsigned bit, upto;
+  unsigned bit, up_to;
 
-  for (bit = 0, upto = 0; upto <= number; bit ++)
+  for (bit = 0, up_to = 0; up_to <= number; bit ++)
     if (BIT (bit))
-      upto ++;
+      up_to ++;
 
   return (bit - 1);
 }