This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] ARM gas Floating Point options
- From: Nick Clifton <nickc at redhat dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com, "Mark Mitchell" <mark at codesourcery dot com>, Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 09 Dec 2003 17:48:09 +0000
- Subject: Re: [patch] ARM gas Floating Point options
- References: <200312051308.31550.paul@codesourcery.com>
Hi Paul,
> The attached patch adds floating point switches to the gas ARM target
> in line with similar changes to GCC.
>
> Basically it adds -msoft-float and -mhard-float which can work
> independently of -mfpu=. The existing -mfpu=soft* have been kept for
> compatibility.
Why do you need this facility ? Currently the specs strings
constructed for gcc translate a -mhard-float or -msoft-float switch
into the correct hard or soft floating point switches for gas so there
is no need to support them directly.
There is however a good reason not to support them - they are too
simplistic. When -msoft-float is specified for example - there is no
indication what kins of software floating support should be enabled.
None at all ? soft-VFP ? soft-FPA ?
Cheers
Nick