aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mn10300.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-08-26 22:55:41 +0930
committerAlan Modra <amodra@gmail.com>2015-08-26 23:07:24 +0930
commit2d011dc1696f38580ca08cdccf9cb8147527063a (patch)
tree88ebaac9887312dbaf9ef043fd175bb0e85e88ef /gas/config/tc-mn10300.c
parent2a7f4fa91ffc8ad3ad195f7ac02a4c97bc96b791 (diff)
downloadgdb-2d011dc1696f38580ca08cdccf9cb8147527063a.zip
gdb-2d011dc1696f38580ca08cdccf9cb8147527063a.tar.gz
gdb-2d011dc1696f38580ca08cdccf9cb8147527063a.tar.bz2
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.
Diffstat (limited to 'gas/config/tc-mn10300.c')
-rw-r--r--gas/config/tc-mn10300.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c
index 0d13622..da05cac 100644
--- a/gas/config/tc-mn10300.c
+++ b/gas/config/tc-mn10300.c
@@ -1417,14 +1417,12 @@ md_assemble (char *str)
if (strcasecmp (start, "usp") != 0)
{
- (void) restore_line_pointer (c);
- *input_line_pointer = c;
+ (void) restore_line_pointer (c);
input_line_pointer = hold;
str = hold;
goto error;
}
(void) restore_line_pointer (c);
- *input_line_pointer = c;
goto keep_going;
}
else if (operand->flags & MN10300_OPERAND_SSP)