From 2f6d622e36c1364a0ae64e528297d2f28e117bfa Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 15 Feb 2005 07:30:07 +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 87ff6164148..7dd8445d482 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 3da3ddaa9df..3da60c5f43a 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 07662e9ff18..454dcc29200 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 330ea93bdb5..f72793a6451 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.30.2