linux-mips
[Top] [All Lists]

Re: Problems compiling . soft-float

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Problems compiling . soft-float
From: Dominic Sweetman <dom@algor.co.uk>
Date: Tue, 26 Feb 2002 10:55:17 +0000
Cc: Jay Carlson <nop@nop.com>, mad-dev@lists.mars.org, Carlo Agostini <carlo.agostini@yacme.com>, linux-mips@oss.sgi.com
In-reply-to: <20020226060236.A5293@dea.linux-mips.net>
References: <20020225132559.A3500@dea.linux-mips.net> <F91731D8-2A73-11D6-AB38-0030658AB11E@nop.com> <20020226060236.A5293@dea.linux-mips.net>
Sender: owner-linux-mips@oss.sgi.com
User-agent: SEMI/1.13.7 (Awazu) CLIME/1.13.6 (中ノ庄) MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386-redhat-linux)
Ralf,

> It's really a major pain.  Softfp isn't defined in the ABI which assumes
> an FPU is available.  As the result there is no provision for mixing
> softfp and fp-less code.
> 
> Something for the binutils to-do list - ld should make mixing hard-fp
> and soft-fp binaries impossible.

Incremental changes to the ABI are pretty bad news.  Isn't it
avoidable in this case?

It seems to me that soft-float programs are either carefully
controlled test cases, or used as part of a 100% soft-float system.

In the first case the programmer had better take care, and in the
second the kernel should have been changed to kill any program with an
FP op-code.

-- 
Dominic Sweetman
Algorithmics Ltd
The Fruit Farm, Ely Road, Chittering, CAMBS CB5 9PH, ENGLAND
phone +44 1223 706200/fax +44 1223 706250/direct +44 1223 706205
http://www.algor.co.uk

<Prev in Thread] Current Thread [Next in Thread>