From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1035 invoked by alias); 1 Feb 2005 22:27:24 -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 962 invoked from network); 1 Feb 2005 22:27:17 -0000 Received: from unknown (HELO bluesmobile.specifixinc.com) (64.220.152.98) by sourceware.org with SMTP; 1 Feb 2005 22:27:17 -0000 Received: from [127.0.0.1] (bluesmobile.corp.specifixinc.com [192.168.1.2]) by bluesmobile.specifixinc.com (Postfix) with ESMTP id 1445816798; Tue, 1 Feb 2005 14:27:16 -0800 (PST) Subject: Re: Recent ia64 assembler change is incompatible with gcc 3.4 From: James E Wilson To: "H. J. Lu" Cc: gcc@gcc.gnu.org, binutils@sources.redhat.com In-Reply-To: <20050201215719.GA19101@lucon.org> References: <20050201060641.GA5425@lucon.org> <1107291297.21490.32.camel@aretha.corp.specifixinc.com> <20050201215719.GA19101@lucon.org> Content-Type: multipart/mixed; boundary="=-YhpQAWIjEUE9D3G2oD0M" Message-Id: <1107296835.21490.85.camel@aretha.corp.specifixinc.com> Mime-Version: 1.0 Date: Tue, 01 Feb 2005 22:27:00 -0000 X-SW-Source: 2005-02/txt/msg00037.txt.bz2 --=-YhpQAWIjEUE9D3G2oD0M Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 527 On Tue, 2005-02-01 at 13:57, H. J. Lu wrote: > I think it may be a gcc bug. Consider > ".body" is missing from the gcc source. I was looking at the wrong sources. gcc-4 has the .body directive, and it wasn't until I failed to reproduce the problem that I realized that I was looking at the wrong tree. Yes, gcc-3.4 is missing the .body. Something like this should work. The .body can be put anywhere after the last prologue directive, the earlier the better. -- Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com --=-YhpQAWIjEUE9D3G2oD0M Content-Disposition: attachment; filename=patch.libffi.body Content-Type: text/plain; name=patch.libffi.body; charset=utf-8 Content-Transfer-Encoding: 7bit Content-length: 594 2005-02-01 James E. Wilson * src/ia64/unix.S (ffi_closure_UNIX): Add missing .body directive. Index: unix.S =================================================================== RCS file: /cvs/gcc/gcc/libffi/src/ia64/unix.S,v retrieving revision 1.5.10.1 diff -p -r1.5.10.1 unix.S *** unix.S 10 Jun 2004 08:19:58 -0000 1.5.10.1 --- unix.S 1 Feb 2005 22:20:50 -0000 *************** ffi_closure_UNIX: *** 273,278 **** --- 273,279 ---- mov loc1=b0 .vframe loc2 mov loc2=sp + .body /* Retrieve closure pointer and real gp. */ mov out0=gp add gp=16,gp --=-YhpQAWIjEUE9D3G2oD0M--