aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ia64.c6
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/ia64/operand-or.d1
4 files changed, 13 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 87ff616..7dd8445 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* config/tc-sh.c (md_apply_fix3): Add parentheses around &
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;
}
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 07662e9..454dcc2 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * gas/ia64/operand-or.d: Pass -xnone to assembler.
+
2005-02-13 Jan Beulich <jbeulich@novell.com>
* gas/ia64/label.l: Adjust line numbers.
diff --git a/gas/testsuite/gas/ia64/operand-or.d b/gas/testsuite/gas/ia64/operand-or.d
index 330ea93..f72793a 100644
--- a/gas/testsuite/gas/ia64/operand-or.d
+++ b/gas/testsuite/gas/ia64/operand-or.d
@@ -1,3 +1,4 @@
+# as: -xnone
# objdump: -d --disassemble-zeroes
# name: ia64 operand-or