From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14553 invoked by alias); 9 Nov 2007 21:57:49 -0000 Received: (qmail 14544 invoked by uid 22791); 9 Nov 2007 21:57:48 -0000 X-Spam-Check-By: sourceware.org Received: from exsmtp03.agrinet.ch (HELO exsmtp03.agrinet.ch) (81.221.254.202) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 Nov 2007 21:57:45 +0000 Received: from smtp.messaging.ch ([10.50.252.215]) by exsmtp03.agrinet.ch with Microsoft SMTPSVC(6.0.3790.3959); Fri, 9 Nov 2007 22:57:42 +0100 Received: from wolfram.andreas.nets ([84.73.68.225]) by smtp.messaging.ch with id Aly91Y0024rcz700000000; Fri, 09 Nov 2007 22:58:11 +0100 X-IMP: ?? X-IMP-FROM: _________ X-IMP-AUTH_USERNAME: Message-ID: <4734D7D4.7090707@pop.agri.ch> Date: Fri, 09 Nov 2007 22:46:00 -0000 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: David Daney , GCC Patches CC: Martin Michlmayr Subject: Re: [patch] fix pr31937 soft-float for libffi ppc 32-bit References: <4730EF00.5060408@pop.agri.ch> <4730F455.3090207@avtrex.com> In-Reply-To: <4730F455.3090207@avtrex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg00546.txt.bz2 David Daney wrote: > Instead of pretending that there is a single ABI that happens to change > depending on the options passed to the compiler (hard or soft float), > you could explicitly support both hard and soft float ABIs in libffi. > > This wouldn't necessarily make libjava work any better, but it would > give you the flexibility of being able to use a hard-float libffi to > call between hard-fload and soft-float ABI code. > > FWIW, this is what I did for MIPS libffi. For the record, I took this as suggestion to rework the patch and I found during this work that I also have to bring support for long-double-128 soft-float. This is a bit tricky, so I will take some time. The soft-float long-double-64 support is implemented now in the way David suggested. (I hope it is ;) The soft-float long-double-128 is on the way to come. Just fyi. Andreas