aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/deffile.h4
-rw-r--r--ld/ld.h2
-rw-r--r--ld/ldlang.c4
-rw-r--r--ld/ldmisc.c2
-rw-r--r--ld/pe-dll.c2
6 files changed, 15 insertions, 7 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f236615..5f008ff 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * deffile.h: Fix spelling in comments.
+ * ld.h: Fix spelling in comments.
+ * ldlang.c: Fix spelling in comments.
+ * ldmisc.c: Fix spelling in comments.
+ * pe-dll.c: Fix spelling in comments.
+
2016-11-24 Jiong Wang <jiong.wang@arm.com>
PR target/20737
diff --git a/ld/deffile.h b/ld/deffile.h
index 26e0431..e6d98eb 100644
--- a/ld/deffile.h
+++ b/ld/deffile.h
@@ -34,7 +34,7 @@ typedef struct def_file_section {
typedef struct def_file_export {
char *name; /* always set */
char *internal_name; /* always set, may == name */
- char *its_name; /* optional export table name refered to. */
+ char *its_name; /* optional export table name referred to. */
int ordinal; /* -1 if not specified */
int hint;
char flag_private, flag_constant, flag_noname, flag_data, flag_forward;
@@ -50,7 +50,7 @@ typedef struct def_file_import {
char *internal_name; /* always set */
def_file_module *module; /* always set */
char *name; /* may be NULL; either this or ordinal will be set */
- char *its_name; /* optional import table name refered to. */
+ char *its_name; /* optional import table name referred to. */
int ordinal; /* may be -1 */
int data; /* = 1 if data */
} def_file_import;
diff --git a/ld/ld.h b/ld/ld.h
index 410ee99..95d5a15 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -185,7 +185,7 @@ typedef struct
/* Name of runtime interpreter to invoke. */
char *interpreter;
- /* Name to give runtime libary from the -soname argument. */
+ /* Name to give runtime library from the -soname argument. */
char *soname;
/* Runtime library search path from the -rpath argument. */
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 7d495c0..de24380 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -3704,7 +3704,7 @@ map_input_to_output_sections
processed the segment marker. Originally, the linker
treated segment directives (like -Ttext on the
command-line) as section directives. We honor the
- section directive semantics for backwards compatibilty;
+ section directive semantics for backwards compatibility;
linker scripts that do not specifically check for
SEGMENT_START automatically get the old semantics. */
if (!s->address_statement.segment
@@ -6880,7 +6880,7 @@ lang_process (void)
are any more to be added to the link before we call the
emulation's after_open hook. We create a private list of
input statements for this purpose, which we will eventually
- insert into the global statment list after the first claimed
+ insert into the global statement list after the first claimed
file. */
added = *stat_ptr;
/* We need to manipulate all three chains in synchrony. */
diff --git a/ld/ldmisc.c b/ld/ldmisc.c
index 5efff74..233e0a2 100644
--- a/ld/ldmisc.c
+++ b/ld/ldmisc.c
@@ -425,7 +425,7 @@ vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning)
++fmt;
break;
}
- /* Fall thru */
+ /* Fallthru */
default:
fprintf (fp, "%%%c", fmt[-1]);
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 1f176ec..055a6cf 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -128,7 +128,7 @@
should run in parallel with addresses vector (FirstThunk), i.e. that they
should have same number of elements and terminated with zero. We violate
this, since FirstThunk points directly into machine code. But in practice,
- OS loader implemented the sane way: it goes thru OriginalFirstThunk and
+ OS loader implemented the sane way: it goes through OriginalFirstThunk and
puts addresses to FirstThunk, not something else. It once again should be
noted that dll and symbol name structures are reused across fixup entries
and should be there anyway to support standard import stuff, so sustained