aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAmbrogino Modigliani <ambrogino.modigliani@gmail.com>2016-11-25 21:01:50 +0100
committerAlan Modra <amodra@gmail.com>2016-11-27 15:09:50 +1030
commit839b0b3f8dff2d7a43f110b8f07b05c8a1004111 (patch)
treea7941d916026e5bc515d28d7a0c7020a207d8951 /ld
parent6223ef94973400bbe2d98885b2a4e36cdb47c800 (diff)
downloadgdb-839b0b3f8dff2d7a43f110b8f07b05c8a1004111.zip
gdb-839b0b3f8dff2d7a43f110b8f07b05c8a1004111.tar.gz
gdb-839b0b3f8dff2d7a43f110b8f07b05c8a1004111.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/emultempl/avrelf.em2
-rw-r--r--ld/emultempl/elf32.em4
-rw-r--r--ld/emultempl/pe.em2
-rw-r--r--ld/emultempl/pep.em2
-rw-r--r--ld/emultempl/spuelf.em2
6 files changed, 14 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index ae660fa..594bd76 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,13 @@
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>
+
* testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
* testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
* testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
diff --git a/ld/emultempl/avrelf.em b/ld/emultempl/avrelf.em
index 4710b6e..f9f0111 100644
--- a/ld/emultempl/avrelf.em
+++ b/ld/emultempl/avrelf.em
@@ -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;
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index f5cb3ee..36aa7db 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -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 */
+ /* Fallthru */
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
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 7b8fec7..b4385b0 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -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;
diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em
index 60deeed..1312bec 100644
--- a/ld/emultempl/pep.em
+++ b/ld/emultempl/pep.em
@@ -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;
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index a94e1df..d36c356 100644
--- a/ld/emultempl/spuelf.em
+++ b/ld/emultempl/spuelf.em
@@ -719,7 +719,7 @@ PARSE_AND_LIST_ARGS_CASES='
auto_overlay_file = optarg;
break;
}
- /* Fall thru */
+ /* Fallthru */
case OPTION_SPU_AUTO_RELINK:
params.auto_overlay |= 2;