ref: 6bcf2c8bf866e8c7001bc18a5755435356487730
parent: 05e8587eb03c55e7e58a4845b7f2d8e348465b80
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Dec 24 06:38:44 EST 2014
5l: remove -f flag and add -F flag to disable VFP code generation almost nobody uses FPA anymore, so make VFP the default but provide -F flag to disable it.
--- a/sys/man/1/2l
+++ b/sys/man/1/2l
@@ -102,8 +102,8 @@
.L _traceout
at function exits.
.TP
-.B -f
-(ARM only) Generate VFP hardware floating point instructions.
+.B -F
+(ARM only) Don't generate VFP hardware floating point instructions.
.TP
.B -s
Strip the symbol tables from the output file.
--- a/sys/src/cmd/5l/span.c
+++ b/sys/src/cmd/5l/span.c
@@ -660,7 +660,7 @@
int i, n, r;
armv4 = !debug['h'];
- vfp = debug['f'];
+ vfp = !debug['F'];
for(i=0; i<C_GOK; i++)
for(n=0; n<C_GOK; n++)
xcmp[i][n] = cmp(n, i);
--
⑨