aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-02-15 07:30:07 +0000
committerJan Beulich <jbeulich@novell.com>2005-02-15 07:30:07 +0000
commit2f6d622e36c1364a0ae64e528297d2f28e117bfa (patch)
tree6495ff2842ddbbd39fc62a2dd682ddbddc67d7c3 /gas/config
parent3f32509245e68f3989a39240ddadeabd4835e56e (diff)
downloadgdb-2f6d622e36c1364a0ae64e528297d2f28e117bfa.zip
gdb-2f6d622e36c1364a0ae64e528297d2f28e117bfa.tar.gz
gdb-2f6d622e36c1364a0ae64e528297d2f28e117bfa.tar.bz2
gas/
2005-02-15 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (ia64_parse_name): Only update next character if input_line_pointer was advanced. gas/testsuite/ 2005-02-15 Jan Beulich <jbeulich@novell.com> * gas/ia64/operand-or.d: Pass -xnone to assembler.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ia64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 3da3dda..3da60c5 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -7619,7 +7619,7 @@ ia64_parse_name (name, e, nextcharP)
if (*nextcharP != '(')
{
as_bad ("Expected '('");
- goto done;
+ break;
}
/* Skip '('. */
++input_line_pointer;
@@ -7662,6 +7662,8 @@ ia64_parse_name (name, e, nextcharP)
in relocs. */
e->X_op = O_pseudo_fixup;
e->X_op_symbol = pseudo_func[idx].u.sym;
+ done:
+ *nextcharP = *input_line_pointer;
break;
case PSEUDO_FUNC_CONST:
@@ -7677,8 +7679,6 @@ ia64_parse_name (name, e, nextcharP)
default:
return 0;
}
- done:
- *nextcharP = *input_line_pointer;
return 1;
}