Fallout from "Allow symbol and label names to be enclosed in double quotes"
PR gas/18581 * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer call to where input line used to be restored. * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input line restore. * config/tc-tilepro.c (parse_reg_expression): Add regname var.
This commit is contained in:
parent
2a7f4fa91f
commit
2d011dc169
@ -1,3 +1,12 @@
|
|||||||
|
2015-08-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR gas/18581
|
||||||
|
* config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
|
||||||
|
call to where input line used to be restored.
|
||||||
|
* config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
|
||||||
|
line restore.
|
||||||
|
* config/tc-tilepro.c (parse_reg_expression): Add regname var.
|
||||||
|
|
||||||
2015-08-26 Nick Clifton <nickc@redhat.com>
|
2015-08-26 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR gas/18842
|
PR gas/18842
|
||||||
|
@ -995,13 +995,14 @@ md_assemble (char *str)
|
|||||||
char *start;
|
char *start;
|
||||||
char c = get_symbol_name (&start);
|
char c = get_symbol_name (&start);
|
||||||
|
|
||||||
(void) restore_line_pointer (c);
|
|
||||||
if (strcmp (start, "mdr") != 0)
|
if (strcmp (start, "mdr") != 0)
|
||||||
{
|
{
|
||||||
|
(void) restore_line_pointer (c);
|
||||||
input_line_pointer = hold;
|
input_line_pointer = hold;
|
||||||
str = hold;
|
str = hold;
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
(void) restore_line_pointer (c);
|
||||||
goto keep_going;
|
goto keep_going;
|
||||||
}
|
}
|
||||||
else if (data_register_name (&ex))
|
else if (data_register_name (&ex))
|
||||||
|
@ -1417,14 +1417,12 @@ md_assemble (char *str)
|
|||||||
|
|
||||||
if (strcasecmp (start, "usp") != 0)
|
if (strcasecmp (start, "usp") != 0)
|
||||||
{
|
{
|
||||||
(void) restore_line_pointer (c);
|
(void) restore_line_pointer (c);
|
||||||
*input_line_pointer = c;
|
|
||||||
input_line_pointer = hold;
|
input_line_pointer = hold;
|
||||||
str = hold;
|
str = hold;
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
(void) restore_line_pointer (c);
|
(void) restore_line_pointer (c);
|
||||||
*input_line_pointer = c;
|
|
||||||
goto keep_going;
|
goto keep_going;
|
||||||
}
|
}
|
||||||
else if (operand->flags & MN10300_OPERAND_SSP)
|
else if (operand->flags & MN10300_OPERAND_SSP)
|
||||||
|
@ -980,6 +980,7 @@ parse_reg_expression (expressionS* expression)
|
|||||||
/* Zero everything to make sure we don't miss any flags. */
|
/* Zero everything to make sure we don't miss any flags. */
|
||||||
memset (expression, 0, sizeof *expression);
|
memset (expression, 0, sizeof *expression);
|
||||||
|
|
||||||
|
char *regname;
|
||||||
char terminating_char = get_symbol_name (®name);
|
char terminating_char = get_symbol_name (®name);
|
||||||
|
|
||||||
void* pval = hash_find (main_reg_hash, regname);
|
void* pval = hash_find (main_reg_hash, regname);
|
||||||
|
Loading…
Reference in New Issue
Block a user