[11/20] Fix spelling mistakes in comments in .em files
Commit Message
ld/ChangeLog:
* ld/emultempl/avrelf.em: Fix spelling in comments.
* ld/emultempl/elf32.em: Fix spelling in comments.
* ld/emultempl/pe.em: Fix spelling in comments.
* ld/emultempl/pep.em: Fix spelling in comments.
* ld/emultempl/spuelf.em: Fix spelling in comments.
---
ld/emultempl/avrelf.em | 2 +-
ld/emultempl/elf32.em | 4 ++--
ld/emultempl/pe.em | 2 +-
ld/emultempl/pep.em | 2 +-
ld/emultempl/spuelf.em | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
@@ -36,7 +36,7 @@ fragment <<EOF
static lang_input_statement_type *stub_file;
static asection *avr_stub_section;
-/* Variables set by the command-line parameters and transfered
+/* Variables set by the command-line parameters and transferred
to the bfd without use of global shared variables. */
static bfd_boolean avr_no_stubs = FALSE;
@@ -534,7 +534,7 @@ gld${EMULATION_NAME}_search_needed (const char *path,
while ((var = strchr (filename + offset, '$')) != NULL)
{
/* The ld.so manual page does not say, but I am going to assume that
- these tokens are terminated by a directory seperator character
+ these tokens are terminated by a directory separator character
(/) or the end of the string. There is also an implication that
$ORIGIN should only be used at the start of a path, but that is
not enforced here.
@@ -1512,7 +1512,7 @@ gld${EMULATION_NAME}_find_exp_assignment (etree_type *exp)
case etree_provide:
case etree_provided:
provide = TRUE;
- /* Fall thru */
+ /* Fall through */
case etree_assign:
/* We call record_link_assignment even if the symbol is defined.
This is because if it is defined by a dynamic object, we
@@ -1231,7 +1231,7 @@ This should work unless it involves constant data structures referencing symbols
undef->type = bfd_link_hash_defweak;
/* We replace original name with __imp_ prefixed, this
1) may trash memory 2) leads to duplicate symbol generation.
- Still, IMHO it's better than having name poluted. */
+ Still, IMHO it's better than having name polluted. */
undef->root.string = sym->root.string;
undef->u.def.value = sym->u.def.value;
undef->u.def.section = sym->u.def.section;
@@ -1197,7 +1197,7 @@ pep_find_data_imports (void)
undef->type = bfd_link_hash_defweak;
/* We replace original name with __imp_ prefixed, this
1) may trash memory 2) leads to duplicate symbol generation.
- Still, IMHO it's better than having name poluted. */
+ Still, IMHO it's better than having name polluted. */
undef->root.string = sym->root.string;
undef->u.def.value = sym->u.def.value;
undef->u.def.section = sym->u.def.section;
@@ -719,7 +719,7 @@ PARSE_AND_LIST_ARGS_CASES='
auto_overlay_file = optarg;
break;
}
- /* Fall thru */
+ /* Fall through */
case OPTION_SPU_AUTO_RELINK:
params.auto_overlay |= 2;