Friday, 24 June 2016

Re: [gccsdk] asasm always claims to want hardware FP

On Thu, Jun 23, 2016 at 03:23:44PM +0100, Dave Higton wrote:
> In short, even the most trivial code assembled with asasm 2.01 r6919
> results in an ELF file that claims to use hardware FP (even though
> there is no FP in the code at all), and I haven't found it possible
> to influence this. r5871 accepted a command line option -soft-float
> that r6919 doesn't. r6919 accepts an option -fpu= but none of the
> 53 options available causes it to change its behaviour.

In the absence of anyone more knowledgeable chipping in, I think you might
want an -apcs flag.

The table of options is here:
http://www.riscos.info/websvn/filedetails.php?repname=gccsdk&path=%2Ftrunk%2Ftools%2Fasasm%2Fsrc%2Fmain.c

Possibly
-apcs nofp/softfp

since the default is:
3/noropi/norwpi/32bit/swstackcheck/fp/nointerwork/hardfp
I think you need to flip the 'fp' and 'hardfp' parts of that.

Theo

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment