projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b48e6d
)
as: Ignore rest of line on overflow error
author
H.J. Lu
<hjl.tools@gmail.com>
Fri, 7 Aug 2020 13:46:42 +0000
(06:46 -0700)
committer
H.J. Lu
<hjl.tools@gmail.com>
Fri, 7 Aug 2020 13:47:56 +0000
(06:47 -0700)
* read.c (read_a_source_file): Ignore rest of line on overflow
error.
gas/ChangeLog
patch
|
blob
|
history
gas/read.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index eac8ec4f9be1a7efd8f9bb5a1f52606938200362..48e351a5e05f7b1151461454d3c616d788b90627 100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-1,3
+1,8
@@
+2020-08-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * read.c (read_a_source_file): Ignore rest of line on overflow
+ error.
+
2020-08-06 Alex Coplan <alex.coplan@arm.com>
* read.c (read_a_source_file): Use long for local labels, detect
diff --git
a/gas/read.c
b/gas/read.c
index bd896580e5db04c7b4099c3a972f75de31a5cdab..cb41cc068524b033a6cd5bb77e5cb6f5e1006d91 100644
(file)
--- a/
gas/read.c
+++ b/
gas/read.c
@@
-1227,7
+1227,10
@@
read_a_source_file (const char *name)
/* Overflow: stop processing the label. */
if (temp == -1)
- continue;
+ {
+ ignore_rest_of_line ();
+ continue;
+ }
if (LOCAL_LABELS_DOLLAR
&& *input_line_pointer == '$'