PR27116, Spelling errors found by Debian style checker

PR 27116
bfd/
	* xcofflink.c: Correct spelling in comments.
binutils/
	* coffgrok.c (do_type): Correct spelling of auxiliary in errors.
	* doc/binutils.texi: Correct grammar.
	* readelf.c (process_version_sections): Correct spelling of auxiliary
	in warning.
	* testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
config/
	* override.m4: Correct comment grammar.
gas/
	* config/tc-i386.c: Correct comment spelling.
	* config/tc-riscv.c: Likewise.
	* config/tc-s390.c: Correct comment grammar.
	* doc/c-i386.texi: Correct spelling.
	* doc/c-s390.texi: Correct grammar.
gold/
	* tilegx.cc: Correct comment spelling.
gprof/
	* README: Correct grammar.
	* gprof.texi: Likewise.
include/
	* coff/internal.h: Correct comment spelling.
	* coff/sym.h: Likewise.
	* opcode/aarch64.h: Likewise.
ld/
	* configure.tgt: Correct comment grammar.
	* emultempl/m68hc1xelf.em: Likewise.
	* ld.texi: Correct grammar.
This commit is contained in:
Alan Modra 2021-01-01 14:21:52 +10:30
parent 250d07de5c
commit f9a6a8f09d
38 changed files with 88 additions and 43 deletions

View file

@ -1,3 +1,7 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* xcofflink.c: Correct spelling in comments.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.

View file

@ -3868,15 +3868,15 @@
* coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
check whether a symbol has csect information.
(coff_print_aux): Likewise.
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxiliary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff_swap_aux_out): Likewise.
(xcoff_reloc_type_br): Handle defweak symbols too.
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxiliary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff64_swap_aux_out): Likewise.
(xcoff64_reloc_type_br): Handle defweak symbols too.
* coffgen.c (coff_print_symbol): Handle auxillary function
* coffgen.c (coff_print_symbol): Handle auxiliary function
information for C_AIX_WEAKEXT too.
* xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
instead of BSF_GLOBAL if the L_WEAK flag is set.
@ -3942,7 +3942,7 @@
objects in a dynamic link, rather than checking whether csectpp
is null. Always allocate debug_index for other objects,
and always go through the loop. Update the type of debug_index
after the change above. Read the auxillary csect information
after the change above. Read the auxiliary csect information
and use xcoff_keep_symbol_p to decide whether a symbol should
be kept. Set its debug_index to -2 if not.
(xcoff_link_input_bfd): Update the type of debug_index after

View file

@ -621,7 +621,7 @@
PR binutils/17512
* coffgen.c (coff_get_normalized_symtab): Check for an excessive
number of auxillary entries.
number of auxiliary entries.
* ieee.c (next_byte): Convert to a function. Return FALSE if the
next byte is beyond the end of the buffer.
(parse_int): Test the return value of next_byte.

View file

@ -3076,7 +3076,7 @@
PR binutils/17512
* coffgen.c (coff_get_normalized_symtab): Fix test for out of
range auxillary sections.
range auxiliary sections.
2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>

View file

@ -3408,7 +3408,7 @@ xcoff_post_gc_symbol (struct xcoff_link_hash_entry *h, void * p)
}
/* INPUT_BFD includes XCOFF symbol ISYM, which is associated with linker
hash table entry H and csect CSECT. AUX contains ISYM's auxillary
hash table entry H and csect CSECT. AUX contains ISYM's auxiliary
csect information, if any. NAME is the function's name if the name
is stored in the .debug section, otherwise it is null.
@ -5145,7 +5145,7 @@ xcoff_find_tc0 (bfd *output_bfd, struct xcoff_final_link_info *flinfo)
irsym.n_numaux = 1;
bfd_coff_swap_sym_out (output_bfd, &irsym, flinfo->outsyms);
/* Fill out the auxillary csect information. */
/* Fill out the auxiliary csect information. */
memset (&iraux, 0, sizeof iraux);
iraux.x_csect.x_smtyp = XTY_SD;
iraux.x_csect.x_smclas = XMC_TC0;

View file

@ -1,3 +1,11 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* coffgrok.c (do_type): Correct spelling of auxiliary in errors.
* doc/binutils.texi: Correct grammar.
* readelf.c (process_version_sections): Correct spelling of auxiliary
in warning.
* testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.

View file

@ -455,7 +455,7 @@
in the file.
(arm_process_unwind): Likewise.
(ia64_process_unwind): Likewise.
Set the size of the unwind auxillary information to 0 if the data
Set the size of the unwind auxiliary information to 0 if the data
could not be read.
(load_specific_debug_section): Handle a failure to read in the
section.

View file

@ -1126,7 +1126,7 @@
PR binutils/21437
* readelf.c (process_version_sections): Check for underflow when
computing the start address of the auxillary version data.
computing the start address of the auxiliary version data.
2017-04-28 Nick Clifton <nickc@redhat.com>
@ -1762,7 +1762,7 @@
2017-02-13 Nick Clifton <nickc@redhat.com>
PR binutils/21148
* readelf.c (process_version_sections): Include size of auxillary
* readelf.c (process_version_sections): Include size of auxiliary
version information when checking for buffer overflow.
2017-02-13 Nick Clifton <nickc@redhat.com>

View file

@ -424,7 +424,7 @@ do_type (unsigned int i)
if (sym->n_numaux)
{
if (aux == NULL)
fatal (_("Aggregate definition needs auxillary information"));
fatal (_("Aggregate definition needs auxiliary information"));
if (aux->x_sym.x_tagndx.p)
{
@ -474,7 +474,7 @@ do_type (unsigned int i)
break;
case T_ENUM:
if (aux == NULL)
fatal (_("Enum definition needs auxillary information"));
fatal (_("Enum definition needs auxiliary information"));
if (aux->x_sym.x_tagndx.p)
{
unsigned int idx = INDEXOF (aux->x_sym.x_tagndx.p);
@ -517,7 +517,7 @@ do_type (unsigned int i)
int els;
if (aux == NULL)
fatal (_("Array definition needs auxillary information"));
fatal (_("Array definition needs auxiliary information"));
els = (dimind < DIMNUM
? aux->x_sym.x_fcnary.x_ary.x_dimen[dimind]
: 0);

View file

@ -2471,7 +2471,7 @@ hexadecimal using @option{hex}. By default, the short immediates are
printed using the decimal representation, while the long immediate
values are printed as hexadecimal.
@option{cpu=...} allows to enforce a particular ISA when disassembling
@option{cpu=...} allows one to enforce a particular ISA when disassembling
instructions, overriding the @option{-m} value or whatever is in the ELF file.
This might be useful to select ARC EM or HS ISA, because architecture is same
for those and disassembler relies on private ELF header data to decide if code

View file

@ -11451,7 +11451,7 @@ process_version_sections (Filedata * filedata)
}
if (j < ent.vn_cnt)
warn (_("Missing Version Needs auxillary information\n"));
warn (_("Missing Version Needs auxiliary information\n"));
if (ent.vn_next < sizeof (*entry)
&& !(cnt == section->sh_info - 1 && ent.vn_next == 0))

View file

@ -19,7 +19,7 @@
#
# This file was written by Jan-Benedict Glaw <jbglaw@lug-owl.de>. It's goal
# is to check the VAX-specific support of the -M entry:0xf00 switch, which
# allows to force function entry masks at given addresses.
# allows one to force function entry masks at given addresses.
#
if ![istarget vax*-*-*] then {

View file

@ -1,3 +1,7 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* override.m4: Correct comment grammar.
2020-09-08 Alan Modra <amodra@gmail.com>
Sync from gcc

View file

@ -32,7 +32,7 @@ m4_ifndef([_GCC_AUTOCONF_VERSION],
[m4_define([_GCC_AUTOCONF_VERSION], [2.69])])
dnl Test for the exact version when AC_INIT is expanded.
dnl This allows to update the tree in steps (for testing)
dnl This allows one to update the tree in steps (for testing)
dnl by putting
dnl m4_define([_GCC_AUTOCONF_VERSION], [X.Y])
dnl in configure.ac before AC_INIT,

View file

@ -1,3 +1,11 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* config/tc-i386.c: Correct comment spelling.
* config/tc-riscv.c: Likewise.
* config/tc-s390.c: Correct comment grammar.
* doc/c-i386.texi: Correct spelling.
* doc/c-s390.texi: Correct grammar.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.

View file

@ -3436,7 +3436,7 @@ gas/ChangeLog:
prefix into i.rex for SSE2AVX templates.
(set_rex_vrex): New helper.
(build_modrm_byte): Use it.
* testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explict
* testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explicit
REX prefixes.
* testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
@ -3462,7 +3462,7 @@ gas/ChangeLog:
* config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to
explicit_priv_attr. It used to indicate CSR or priv instructions are
explictly used.
explicitly used.
(riscv_is_priv_insn): Return True if it is a privileged instruction.
(riscv_ip): Call riscv_is_priv_insn to check whether the instruction
is privileged or not. If it is, then set explicit_priv_attr to TRUE.
@ -3665,7 +3665,7 @@ gas/ChangeLog:
2020-06-05 Nelson Chu <nelson.chu@sifive.com>
* config/tc-riscv.c (explicit_csr): New static boolean.
Used to indicate CSR are explictly used.
Used to indicate CSR are explicitly used.
(riscv_ip): Set explicit_csr to TRUE if any CSR is used.
(riscv_write_out_attrs): If we already have set elf priv
attributes, then generate them. Otherwise, don't generate
@ -4324,7 +4324,7 @@ gas/ChangeLog:
(md_parse_option): Change -mlfence-before-ret=[none|not|or] to
-mlfence-before-ret=[none/not/or/shl/yes].
Enable -mlfence-before-ret=shl when
-mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option.
-mlfence-beofre-indirect-branch=all and no explicit -mlfence-before-ret option.
(md_show_usage): Ditto.
* doc/c-i386.texi: Ditto.
* testsuite/gas/i386/i386.exp: Add new testcases.

View file

@ -1931,7 +1931,7 @@ Tue Aug 1 17:35:26 1995 Ian Lance Taylor <ian@cygnus.com>
Tue Aug 1 11:35:18 1995 steve chamberlain <sac@slash.cygnus.com>
* config/tc-sh.c (md_convert_frag): Make some error messages
more explict.
more explicit.
Mon Jul 31 21:40:47 1995 Ken Raeburn <raeburn@cygnus.com>

View file

@ -7156,7 +7156,7 @@ process_suffix (void)
break;
case 0:
/* Select word/dword/qword operation with explict data sizing prefix
/* Select word/dword/qword operation with explicit data sizing prefix
when there are no suitable register operands. */
if (i.tm.opcode_modifier.w
&& (i.prefix[DATA_PREFIX] || (i.prefix[REX_PREFIX] & REX_W))

View file

@ -401,10 +401,10 @@ const char FLT_CHARS[] = "rRsSfFdDxXpP";
/* Indicate we are already assemble any instructions or not. */
static bfd_boolean start_assemble = FALSE;
/* Indicate ELF attributes are explictly set. */
/* Indicate ELF attributes are explicitly set. */
static bfd_boolean explicit_attr = FALSE;
/* Indicate CSR or priv instructions are explictly used. */
/* Indicate CSR or priv instructions are explicitly used. */
static bfd_boolean explicit_priv_attr = FALSE;
/* Macros for encoding relaxation state for RVC branches and far jumps. */

View file

@ -1900,7 +1900,7 @@ s390_literals (int ignore ATTRIBUTE_UNUSED)
#define MAX_HISTORY 100
/* The .machine pseudo op allows to switch to a different CPU level in
/* The .machine pseudo op allows one to switch to a different CPU level in
the asm listing. The current CPU setting can be stored on a stack
with .machine push and restored with .machine pop. */
@ -1991,7 +1991,7 @@ s390_machine (int ignore ATTRIBUTE_UNUSED)
demand_empty_rest_of_line ();
}
/* The .machinemode pseudo op allows to switch to a different
/* The .machinemode pseudo op allows one to switch to a different
architecture mode in the asm listing. The current architecture
mode setting can be stored on a stack with .machinemode push and
restored with .machinemode pop. */

View file

@ -513,7 +513,7 @@ before indirect near branch instructions.
before indirect near branch via register and issue a warning before
indirect near branch via memory.
It also implicitly sets @option{-mlfence-before-ret=@var{shl}} when
there's no explict @option{-mlfence-before-ret=}.
there's no explicit @option{-mlfence-before-ret=}.
@option{-mlfence-before-indirect-branch=@var{register}} will generate
lfence before indirect near branch via register.
@option{-mlfence-before-indirect-branch=@var{memory}} will issue a

View file

@ -905,7 +905,7 @@ except instructions from the HTM facility.
@cindex @code{.machinemode} directive, s390
@item .machinemode string
This directive allows to change the architecture mode for which code
This directive allows one to change the architecture mode for which code
is being generated. @code{string} may be @code{esa}, @code{zarch},
@code{zarch_nohighgprs}, @code{push}, or @code{pop}.
@code{.machinemode zarch_nohighgprs} can be used to prevent the

View file

@ -1,3 +1,7 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* tilegx.cc: Correct comment spelling.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.

View file

@ -4013,7 +4013,7 @@ Target_tilegx<size, big_endian>::Scan::global(Symbol_table* symtab,
// only expand to plt against __tls_get_addr in GD model
case elfcpp::R_TILEGX_TLS_GD_CALL:
if (opt_t == tls::TLSOPT_NONE) {
// FIXME: it's better '__tls_get_addr' referenced explictly
// FIXME: it's better '__tls_get_addr' referenced explicitly
if (!target->tls_get_addr_sym_defined_) {
Symbol* sym = NULL;
options::parse_set(NULL, "__tls_get_addr",

View file

@ -1,3 +1,8 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* README: Correct grammar.
* gprof.texi: Likewise.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.

View file

@ -358,7 +358,7 @@ Short Form: Long Form:
** File Format Changes
The old BSD-derived format used for profile data does not contain a
magic cookie that allows to check whether a data file really is a
magic cookie that allows one to check whether a data file really is a
gprof file. Furthermore, it does not provide a version number, thus
rendering changes to the file format almost impossible. GNU gprof
uses a new file format that provides these features. For backward

View file

@ -1931,7 +1931,7 @@ load due to other users won't directly affect the output you get.
@section Profiling Data File Format
The old BSD-derived file format used for profile data does not contain a
magic cookie that allows to check whether a data file really is a
magic cookie that allows one to check whether a data file really is a
@code{gprof} file. Furthermore, it does not provide a version number, thus
rendering changes to the file format almost impossible. @sc{gnu} @code{gprof}
uses a new file format that provides these features. For backward

View file

@ -1,3 +1,9 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* coff/internal.h: Correct comment spelling.
* coff/sym.h: Likewise.
* opcode/aarch64.h: Likewise.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.

View file

@ -377,7 +377,7 @@ struct internal_aouthdr
#define C_THUMBEXTFUNC (C_THUMBEXT + 20) /* 150 */
#define C_THUMBSTATFUNC (C_THUMBSTAT + 20) /* 151 */
/* True if XCOFF symbols of class CLASS have auxillary csect information. */
/* True if XCOFF symbols of class CLASS have auxiliary csect information. */
#define CSECT_SYM_P(CLASS) \
((CLASS) == C_EXT || (CLASS) == C_AIX_WEAKEXT || (CLASS) == C_HIDEXT)

View file

@ -76,8 +76,8 @@ typedef struct {
bfd_vma cbSymOffset; /* offset to start of local symbols*/
long ioptMax; /* max index into optimization symbol entries */
bfd_vma cbOptOffset; /* offset to optimization symbol entries */
long iauxMax; /* number of auxillary symbol entries */
bfd_vma cbAuxOffset; /* offset to start of auxillary symbol entries*/
long iauxMax; /* number of auxiliary symbol entries */
bfd_vma cbAuxOffset; /* offset to start of auxiliary symbol entries*/
long issMax; /* max index into local strings */
bfd_vma cbSsOffset; /* offset to start of local strings */
long issExtMax; /* max index into external strings */

View file

@ -1255,7 +1255,7 @@ struct aarch64_instr_sequence
{
/* The instruction that caused this sequence to be opened. */
aarch64_inst *instr;
/* The number of instructions the above instruction allows to be kept in the
/* The number of instructions the above instruction allows one to be kept in the
sequence before an automatic close is done. */
int num_insns;
/* The instructions currently added to the sequence. */

View file

@ -1,3 +1,9 @@
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* configure.tgt: Correct comment grammar.
* emultempl/m68hc1xelf.em: Likewise.
* ld.texi: Correct grammar.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.

View file

@ -1873,7 +1873,7 @@ Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com>
section to avoid copying certain data on fork. The linker used to
include this between __data_start__ and __data_end__, but that
breaks building the cygwin32 dll. The fix is to rename the
section ".data_cygwin_nocopy" and explictly include it after
section ".data_cygwin_nocopy" and explicitly include it after
__data_end__.
Wed Mar 18 09:42:24 1998 Nick Clifton <nickc@cygnus.com>

View file

@ -1051,7 +1051,7 @@ sparc*-*-solaris2*)
;;
spu-*-elf*)
# This allows to build a pair of PPU/SPU toolchains with common sysroot.
# This allows one to build a pair of PPU/SPU toolchains with common sysroot.
NATIVE_LIB_DIRS='/lib'
;;

View file

@ -104,7 +104,7 @@ m68hc11_elf_${EMULATION_NAME}_before_allocation (void)
window (rx) : ORIGIN = 0x8000, LENGTH = 16K
But for 68HC11 this is board specific. The definition of such
memory region allows to control how this paged memory is accessed. */
memory region allows one to control how this paged memory is accessed. */
region = lang_memory_region_lookup (bank_window_name, FALSE);
/* Check the length to see if it was defined in the script. */

View file

@ -939,7 +939,7 @@ just copy in the newest one.
@kindex --push-state
@cindex push state governing input file handling
@item --push-state
The @option{--push-state} allows to preserve the current state of the
The @option{--push-state} allows one to preserve the current state of the
flags which govern the input file handling so that they can all be
restored with one corresponding @option{--pop-state} option.

View file

@ -3296,7 +3296,7 @@
(find_executable): Likewise.
(win32_spawn): Cast alloca return to (char**).
Replace malloc with XNEWVEC.
bcopy.c (bcopy): Add explict casts in assignments.
bcopy.c (bcopy): Add explicit casts in assignments.
2006-10-25 Ben Elliston <bje@au.ibm.com>

View file

@ -1898,7 +1898,7 @@
(create_map): Zero initialize instruction fields.
(arcExtMap_instName): Remove.
(arcExtMap_insn): New function.
(dump_ARC_extmap): More info while debuging.
(dump_ARC_extmap): More info while debugging.
(arcExtMap_genOpcode): New function.
* arc-dis.c (find_format): New function.
(print_insn_arc): Use find_format.