Fix spelling in comments in .em files (ld)

* emultempl/avrelf.em: Fix spelling in comments.
	* emultempl/elf32.em: Fix spelling in comments.
	* emultempl/pe.em: Fix spelling in comments.
	* emultempl/pep.em: Fix spelling in comments.
	* emultempl/spuelf.em: Fix spelling in comments.
This commit is contained in:
Ambrogino Modigliani
2016-11-25 21:01:50 +01:00
committed by Alan Modra
parent 6223ef9497
commit 839b0b3f8d
6 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* emultempl/avrelf.em: Fix spelling in comments.
* emultempl/elf32.em: Fix spelling in comments.
* emultempl/pe.em: Fix spelling in comments.
* emultempl/pep.em: Fix spelling in comments.
* emultempl/spuelf.em: Fix spelling in comments.
2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com> 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* testsuite/ld-sh/arch/arch.exp: Fix spelling in comments. * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.

View File

@ -36,7 +36,7 @@ fragment <<EOF
static lang_input_statement_type *stub_file; static lang_input_statement_type *stub_file;
static asection *avr_stub_section; 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. */ to the bfd without use of global shared variables. */
static bfd_boolean avr_no_stubs = FALSE; static bfd_boolean avr_no_stubs = FALSE;

View File

@ -534,7 +534,7 @@ gld${EMULATION_NAME}_search_needed (const char *path,
while ((var = strchr (filename + offset, '$')) != NULL) while ((var = strchr (filename + offset, '$')) != NULL)
{ {
/* The ld.so manual page does not say, but I am going to assume that /* 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 (/) 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 $ORIGIN should only be used at the start of a path, but that is
not enforced here. not enforced here.
@ -1512,7 +1512,7 @@ gld${EMULATION_NAME}_find_exp_assignment (etree_type *exp)
case etree_provide: case etree_provide:
case etree_provided: case etree_provided:
provide = TRUE; provide = TRUE;
/* Fall thru */ /* Fallthru */
case etree_assign: case etree_assign:
/* We call record_link_assignment even if the symbol is defined. /* We call record_link_assignment even if the symbol is defined.
This is because if it is defined by a dynamic object, we This is because if it is defined by a dynamic object, we

View File

@ -1231,7 +1231,7 @@ This should work unless it involves constant data structures referencing symbols
undef->type = bfd_link_hash_defweak; undef->type = bfd_link_hash_defweak;
/* We replace original name with __imp_ prefixed, this /* We replace original name with __imp_ prefixed, this
1) may trash memory 2) leads to duplicate symbol generation. 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->root.string = sym->root.string;
undef->u.def.value = sym->u.def.value; undef->u.def.value = sym->u.def.value;
undef->u.def.section = sym->u.def.section; undef->u.def.section = sym->u.def.section;

View File

@ -1197,7 +1197,7 @@ pep_find_data_imports (void)
undef->type = bfd_link_hash_defweak; undef->type = bfd_link_hash_defweak;
/* We replace original name with __imp_ prefixed, this /* We replace original name with __imp_ prefixed, this
1) may trash memory 2) leads to duplicate symbol generation. 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->root.string = sym->root.string;
undef->u.def.value = sym->u.def.value; undef->u.def.value = sym->u.def.value;
undef->u.def.section = sym->u.def.section; undef->u.def.section = sym->u.def.section;

View File

@ -719,7 +719,7 @@ PARSE_AND_LIST_ARGS_CASES='
auto_overlay_file = optarg; auto_overlay_file = optarg;
break; break;
} }
/* Fall thru */ /* Fallthru */
case OPTION_SPU_AUTO_RELINK: case OPTION_SPU_AUTO_RELINK:
params.auto_overlay |= 2; params.auto_overlay |= 2;