From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27617 invoked by alias); 14 Feb 2005 09:18:17 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 27535 invoked from network); 14 Feb 2005 09:18:09 -0000 Received: from unknown (HELO emea1-mh.id2.novell.com) (195.33.99.129) by sourceware.org with SMTP; 14 Feb 2005 09:18:09 -0000 Received: from EMEA1-MTA by emea1-mh.id2.novell.com with Novell_GroupWise; Mon, 14 Feb 2005 09:18:08 +0100 Message-Id: Date: Mon, 14 Feb 2005 11:37:00 -0000 From: "Jan Beulich" To: Cc: , Subject: Re: The new ia64 assembler is incompatible with glibc Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part4B68141C.1__=" X-SW-Source: 2005-02/txt/msg00300.txt.bz2 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part4B68141C.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 1633 >The problem is caused by > >http://sourceware.org/ml/binutils/2005-02/msg00122.html > >Gas no longer handles > >fclass.m p6, p7 = farg0, @inf|@pos > >correctly. Jan, could you please fix it? Built and tested as cross assembler on i686-linux. Jan gas/ 2005-02-14 Jan Beulich * config/tc-ia64.c (ia64_parse_name): Only update next character if input_line_pointer was advanced. gas/testsuite/ 2005-02-14 Jan Beulich * gas/ia64/operand-or.d: Pass -xnone to assembler. --- /home/jbeulich/src/binutils/mainline/2005-02-14/gas/config/tc-ia64.c 2005-02-14 08:56:13.000000000 +0100 +++ 2005-02-14/gas/config/tc-ia64.c 2005-02-14 09:59:51.194082640 +0100 @@ -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; } --- /home/jbeulich/src/binutils/mainline/2005-02-14/gas/testsuite/gas/ia64/operand-or.d 2005-02-13 20:25:26.000000000 +0100 +++ 2005-02-14/gas/testsuite/gas/ia64/operand-or.d 2005-02-14 10:11:32.534462696 +0100 @@ -1,3 +1,4 @@ +# as: -xnone # objdump: -d --disassemble-zeroes # name: ia64 operand-or --=__Part4B68141C.1__= Content-Type: text/plain; name="binutils-mainline-ia64-operand-or.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="binutils-mainline-ia64-operand-or.patch" Content-length: 1438 Built and tested as cross assembler on i686-linux. Jan gas/ 2005-02-14 Jan Beulich * config/tc-ia64.c (ia64_parse_name): Only update next character if input_line_pointer was advanced. gas/testsuite/ 2005-02-14 Jan Beulich * gas/ia64/operand-or.d: Pass -xnone to assembler. --- /home/jbeulich/src/binutils/mainline/2005-02-14/gas/config/tc-ia64.c 2005-02-14 08:56:13.000000000 +0100 +++ 2005-02-14/gas/config/tc-ia64.c 2005-02-14 09:59:51.194082640 +0100 @@ -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; } --- /home/jbeulich/src/binutils/mainline/2005-02-14/gas/testsuite/gas/ia64/operand-or.d 2005-02-13 20:25:26.000000000 +0100 +++ 2005-02-14/gas/testsuite/gas/ia64/operand-or.d 2005-02-14 10:11:32.534462696 +0100 @@ -1,3 +1,4 @@ +# as: -xnone # objdump: -d --disassemble-zeroes # name: ia64 operand-or --=__Part4B68141C.1__=--