This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix typos in gold.


Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

> gold/ChangeLog:
> 2010-12-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
>
> 	* dwarf_reader.cc: Remove outdated comment.
> 	* gold-threads.cc: Fix typo in error message.
> 	* archive.cc: Fix typos in comments.
> 	* archive.h: Likewise.
> 	* arm-reloc-property.cc: Likewise.
> 	* arm-reloc-property.h: Likewise.
> 	* arm-reloc.def: Likewise.
> 	* arm.cc: Likewise.
> 	* attributes.h: Likewise.
> 	* cref.cc: Likewise.
> 	* ehframe.cc: Likewise.
> 	* fileread.h: Likewise.
> 	* gold.h: Likewise.
> 	* i386.cc: Likewise.
> 	* icf.cc: Likewise.
> 	* incremental.h: Likewise.
> 	* int_encoding.cc: Likewise.
> 	* layout.h: Likewise.
> 	* main.cc: Likewise.
> 	* merge.h: Likewise.
> 	* object.cc: Likewise.
> 	* object.h: Likewise.
> 	* options.cc: Likewise.
> 	* readsyms.cc: Likewise.
> 	* reduced_debug_output.cc: Likewise.
> 	* reloc.cc: Likewise.
> 	* script-sections.cc: Likewise.
> 	* sparc.cc: Likewise.
> 	* symtab.h: Likewise.
> 	* target-reloc.h: Likewise.
> 	* target.cc: Likewise.
> 	* target.h: Likewise.
> 	* timer.cc: Likewise.
> 	* timer.h: Likewise.
> 	* x86_64.cc: Likewise.

> --- a/gold/arm-reloc-property.cc
> +++ b/gold/arm-reloc-property.cc

>  Arm_reloc_property_table::Arm_reloc_property_table()
>  {
> -  // These appers in arm-reloc.def.  Do not rename them.
> +  // These appears in arm-reloc.def.  Do not rename them.

s/appears/appear/


> --- a/gold/arm-reloc.def
> +++ b/gold/arm-reloc.def

> @@ -40,7 +40,7 @@
>  //   is expected to handle these though they should not be generated by fully
>  //   conforming tool-chains.
>  //
> -// Operation: An expression specifying how the linker should performace a
> +// Operation: An expression specifying how the linker should performance a

s/performance/perform/


> --- a/gold/arm.cc
> +++ b/gold/arm.cc

> @@ -6528,9 +6528,9 @@ Arm_relobj<big_endian>::do_relocate_sections(
>      }
>  }
>  
> -// Find the linked text section of an EXIDX section by looking the the first
> +// Find the linked text section of an EXIDX section by looking the first
>  // relocation.  4.4.1 of the EHABI specifications says that an EXIDX section
> -// must be linked to to its associated code section via the sh_link field of
> +// must be linked to its associated code section via the sh_link field of
>  // its section header.  However, some tools are broken and the link is not
>  // always set.  LD just drops such an EXIDX section silently, causing the
>  // associated code not unwindabled.   Here we try a little bit harder to

s/looking the first/looking at the first/


> @@ -11339,12 +11339,12 @@ Target_arm<big_endian>::scan_section_for_stubs(
>  
>  // Group input sections for stub generation.
>  //
> -// We goup input sections in an output sections so that the total size,
> +// We group input sections in an output sections so that the total size,
>  // including any padding space due to alignment is smaller than GROUP_SIZE
>  // unless the only input section in group is bigger than GROUP_SIZE already.
>  // Then an ARM stub table is created to follow the last input section
>  // in group.  For each group an ARM stub table is created an is placed
> -// after the last group.  If STUB_ALWATS_AFTER_BRANCH is false, we further
> +// after the last group.  If STUB_ALWAYS_AFTER_BRANCH is false, we further
>  // extend the group after the stub table.

s/an output sections/an output section/


> --- a/gold/target.cc
> +++ b/gold/target.cc

> @@ -31,7 +31,7 @@ namespace gold
>  {
>  
>  // Return whether NAME is a local label name.  This is used to implement the
> -// --discard-locals options and can be overriden by children classes to
> +// --discard-locals options and can be overridden by children classes to
>  // implement system-specific behaviour.  The logic here is the same as that
>  // in _bfd_elf_is_local_label_name().

s/children/child/


> --- a/gold/timer.cc
> +++ b/gold/timer.cc

> @@ -64,7 +64,7 @@ Timer::start()
>  #endif
>  
>  // times returns statistics in clock_t units. This variable will hold the
> -// conversion factor to seconds. We use a variable that is initialize once
> +// conversion factor to seconds. We use a variable that is initialized once
>  // because sysconf can be slow.

s/seconds. We/seconds.  We/


This is OK with the above changes.

Thanks for finding so many.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]