From c58d4eb20bb396a1e654e3f66930a6b78758952c Mon Sep 17 00:00:00 2001 From: jbeulich Date: Tue, 15 Feb 2005 07:30:05 +0000 Subject: [PATCH] gas/ 2005-02-15 Jan Beulich * config/tc-ia64.c (ia64_parse_name): Only update next character if input_line_pointer was advanced. gas/testsuite/ 2005-02-15 Jan Beulich * gas/ia64/operand-or.d: Pass -xnone to assembler. --- gas/ChangeLog | 5 +++++ gas/config/tc-ia64.c | 6 +++--- gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/gas/ia64/operand-or.d | 1 + 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 87ff616414..7dd8445d48 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-02-15 Jan Beulich + + * config/tc-ia64.c (ia64_parse_name): Only update next character if + input_line_pointer was advanced. + 2005-02-14 Kaz Kojima * 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 3da3ddaa9d..3da60c5f43 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 07662e9ff1..454dcc2920 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-02-15 Jan Beulich + + * gas/ia64/operand-or.d: Pass -xnone to assembler. + 2005-02-13 Jan Beulich * 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 330ea93bdb..f72793a645 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 -- 2.11.0