aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmbrogino Modigliani <ambrogino.modigliani@gmail.com>2016-11-25 21:01:54 +0100
committerAlan Modra <amodra@gmail.com>2016-11-27 20:19:32 +1030
commitcb55e96bf79ead88469bb859f9c858f62df2e562 (patch)
tree76f8a552ff9b17c2c79fe33e101c47b99252ff87
parenta582903f51b536bf0de128ef288bafd39caade0a (diff)
downloadgdb-cb55e96bf79ead88469bb859f9c858f62df2e562.zip
gdb-cb55e96bf79ead88469bb859f9c858f62df2e562.tar.gz
gdb-cb55e96bf79ead88469bb859f9c858f62df2e562.tar.bz2
Fix spelling in comments in .y files (ld)
* deffilep.y: Fix spelling in comments.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/deffilep.y4
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4b76b33..1285835 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+ * deffilep.y: Fix spelling in comments.
+
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
* scripttempl/ia64vms.sc: Fix spelling in comments.
* scripttempl/ip2k.sc: Fix spelling in comments.
* scripttempl/v850.sc: Fix spelling in comments.
diff --git a/ld/deffilep.y b/ld/deffilep.y
index 837de0e..302016c 100644
--- a/ld/deffilep.y
+++ b/ld/deffilep.y
@@ -904,8 +904,8 @@ def_file_add_directive (def_file *my_def, const char *param, int len)
/* Scan forward until we encounter any of:
- the end of the buffer
- the start of a new option
- - a newline seperating options
- - a NUL seperating options. */
+ - a newline separating options
+ - a NUL separating options. */
for (tend = (char *) (param + 1);
(tend < pend
&& !(ISSPACE (tend[-1]) && *tend == '-')