diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/read.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b25be84..5cb3183 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2004-12-29 Alan Modra <amodra@bigpond.net.au> + + PR gas/619 + * read.c (s_comm_internal): Don't zero end of name until size + expression has been parsed. + 2004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl> * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2. @@ -1377,7 +1377,6 @@ s_comm_internal (int param, if (*input_line_pointer == ',') input_line_pointer++; - *p = 0; temp = get_absolute_expr (&exp); size = temp; #ifdef BFD_ASSEMBLER @@ -1386,18 +1385,17 @@ s_comm_internal (int param, if (exp.X_op == O_absent) { as_bad (_("missing size expression")); - *p = c; ignore_rest_of_line (); goto out; } else if (temp != size || !exp.X_unsigned) { as_warn (_("size (%ld) out of range, ignored"), (long) temp); - *p = c; ignore_rest_of_line (); goto out; } + *p = 0; symbolP = symbol_find_or_make (name); if (S_IS_DEFINED (symbolP) && !S_IS_COMMON (symbolP)) { |