aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorSamanta Navarro <ferivoz@riseup.net>2020-10-05 14:20:15 +0100
committerNick Clifton <nickc@redhat.com>2020-10-05 14:20:15 +0100
commit0cc79db2b66aa3115ddbf84cb81d1ad8abd38c46 (patch)
treee56b3c7c8a3d8a9cc07978be5560deeeb25c84e3 /opcodes
parent7d1441178ac6d5b31e3ebf312012c2d5bfaeec91 (diff)
downloadgdb-0cc79db2b66aa3115ddbf84cb81d1ad8abd38c46.zip
gdb-0cc79db2b66aa3115ddbf84cb81d1ad8abd38c46.tar.gz
gdb-0cc79db2b66aa3115ddbf84cb81d1ad8abd38c46.tar.bz2
Fix spelling mistakes
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/cgen-asm.c4
-rw-r--r--opcodes/cgen-dis.c4
-rw-r--r--opcodes/tic30-dis.c2
4 files changed, 11 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 3c74fbf..22250b0 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2020-10-05 Samanta Navarro <ferivoz@riseup.net>
+
+ * cgen-asm.c: Fix spelling mistakes.
+ * cgen-dis.c: Fix spelling mistakes.
+ * tic30-dis.c: Fix spelling mistakes.
+
2020-10-05 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/26704
diff --git a/opcodes/cgen-asm.c b/opcodes/cgen-asm.c
index b167504..7835928 100644
--- a/opcodes/cgen-asm.c
+++ b/opcodes/cgen-asm.c
@@ -60,7 +60,7 @@ cgen_init_parse_operand (CGEN_CPU_DESC cd)
The result is a pointer to the next entry to use.
The table is scanned backwards as additions are made to the front of the
- list and we want earlier ones to be prefered. */
+ list and we want earlier ones to be preferred. */
static CGEN_INSN_LIST *
hash_insn_array (CGEN_CPU_DESC cd,
@@ -156,7 +156,7 @@ build_asm_hash_table (CGEN_CPU_DESC cd)
asm_hash_table, hash_entry_buf);
/* Add runtime added insns.
- Later added insns will be prefered over earlier ones. */
+ Later added insns will be preferred over earlier ones. */
hash_entry_buf = hash_insn_list (cd, insn_table->new_entries,
asm_hash_table, hash_entry_buf);
diff --git a/opcodes/cgen-dis.c b/opcodes/cgen-dis.c
index 377c93c..29bbb19 100644
--- a/opcodes/cgen-dis.c
+++ b/opcodes/cgen-dis.c
@@ -95,7 +95,7 @@ add_insn_to_hash_chain (CGEN_INSN_LIST *hentbuf,
The result is a pointer to the next entry to use.
The table is scanned backwards as additions are made to the front of the
- list and we want earlier ones to be prefered. */
+ list and we want earlier ones to be preferred. */
static CGEN_INSN_LIST *
hash_insn_array (CGEN_CPU_DESC cd,
@@ -211,7 +211,7 @@ build_dis_hash_table (CGEN_CPU_DESC cd)
dis_hash_table, hash_entry_buf);
/* Add runtime added insns.
- Later added insns will be prefered over earlier ones. */
+ Later added insns will be preferred over earlier ones. */
hash_entry_buf = hash_insn_list (cd, insn_table->new_entries,
dis_hash_table, hash_entry_buf);
diff --git a/opcodes/tic30-dis.c b/opcodes/tic30-dis.c
index 8215471..38e885c 100644
--- a/opcodes/tic30-dis.c
+++ b/opcodes/tic30-dis.c
@@ -701,7 +701,7 @@ print_insn_tic30 (bfd_vma pc, disassemble_info *info)
| (*(info->buffer + bufaddr + 2) << 8)
| *(info->buffer + bufaddr + 3));
_pc = pc / 4;
- /* Get the instruction refered to by the current instruction word
+ /* Get the instruction referred to by the current instruction word
and print it out based on its type. */
if (!get_tic30_instruction (insn_word, &insn))
return -1;