From 0cc79db2b66aa3115ddbf84cb81d1ad8abd38c46 Mon Sep 17 00:00:00 2001 From: Samanta Navarro Date: Mon, 5 Oct 2020 14:20:15 +0100 Subject: Fix spelling mistakes --- opcodes/ChangeLog | 6 ++++++ opcodes/cgen-asm.c | 4 ++-- opcodes/cgen-dis.c | 4 ++-- opcodes/tic30-dis.c | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) (limited to 'opcodes') 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 + + * cgen-asm.c: Fix spelling mistakes. + * cgen-dis.c: Fix spelling mistakes. + * tic30-dis.c: Fix spelling mistakes. + 2020-10-05 H.J. Lu 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; -- cgit v1.1