diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-23 13:07:38 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-23 13:07:38 +0100 |
commit | 9f43244a41e901027c8ab56f004936042e55d3c0 (patch) | |
tree | a5a0ab85507c2d6be9d02fd14ff7170226f95ea2 | |
parent | d2d240ff89b4d3359ea70cdb47d3e79294ca891a (diff) | |
download | binutils-9f43244a41e901027c8ab56f004936042e55d3c0.zip binutils-9f43244a41e901027c8ab56f004936042e55d3c0.tar.gz binutils-9f43244a41e901027c8ab56f004936042e55d3c0.tar.bz2 |
[gdb/contrib] Add two words to common-misspellings.txt
While reviewing changes generated by spellcheck.sh for directory sim, I
noticed two more misspellings:
...
arrithemetic->arithmetic
electricaly->electrically
...
Add them to common-misspellings.txt, and fix them in directory sim.
Tested by rebuilding on x86_64-linux.
Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r-- | gdb/contrib/common-misspellings.txt | 2 | ||||
-rw-r--r-- | sim/ppc/INSTALL | 2 | ||||
-rw-r--r-- | sim/ppc/hw_eeprom.c | 2 | ||||
-rw-r--r-- | sim/ppc/idecode_expression.h | 4 |
4 files changed, 6 insertions, 4 deletions
diff --git a/gdb/contrib/common-misspellings.txt b/gdb/contrib/common-misspellings.txt index 4ab968e..5772f66 100644 --- a/gdb/contrib/common-misspellings.txt +++ b/gdb/contrib/common-misspellings.txt @@ -22,6 +22,8 @@ sofar->so far doens't->doesn't behavour->behavior behaviour->behavior +arrithemetic->arithmetic +electricaly->electrically # Identity rules. diff --git a/sim/ppc/INSTALL b/sim/ppc/INSTALL index 220ed4d..ea4fd18 100644 --- a/sim/ppc/INSTALL +++ b/sim/ppc/INSTALL @@ -32,7 +32,7 @@ following: gcc GCC version two includes suport for long long (64bit integer) - arrithemetic which PSIM uses. Hence + arithmetic which PSIM uses. Hence it is recommended that you build PSIM using GCC. diff --git a/sim/ppc/hw_eeprom.c b/sim/ppc/hw_eeprom.c index 1f58ca6..a53654c 100644 --- a/sim/ppc/hw_eeprom.c +++ b/sim/ppc/hw_eeprom.c @@ -29,7 +29,7 @@ /* DEVICE - eeprom - JEDEC? compatible electricaly erasable programmable device + eeprom - JEDEC? compatible electrically erasable programmable device DESCRIPTION diff --git a/sim/ppc/idecode_expression.h b/sim/ppc/idecode_expression.h index c44083c..bcfcd3d 100644 --- a/sim/ppc/idecode_expression.h +++ b/sim/ppc/idecode_expression.h @@ -40,7 +40,7 @@ resulting dead code. That dead code being the calculations that, as it turned out were not in the end needed. - 64bit arrithemetic is used firstly because it allows the use of + 64bit arithmetic is used firstly because it allows the use of gcc's efficient long long operators (typically efficiently output inline) and secondly because the resultant answer will contain in the low 32bits the answer while in the high 32bits is either carry @@ -48,7 +48,7 @@ /* 64bit target expressions: - Unfortunately 128bit arrithemetic isn't that common. Consequently + Unfortunately 128bit arithmetic isn't that common. Consequently the 32/64 bit trick can not be used. Instead all calculations are required to retain carry/overflow information in separate variables. Even with this restriction it is still possible for the |