[patch] ARM gas Floating Point options

Nick Clifton nickc@redhat.com
Tue Dec 9 17:53:00 GMT 2003
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
        




More information about the Binutils mailing list