ref: 4e94094e941e908008ead1f574003c2ddc3113a0
parent: 2ef69f42d8372d0efc046e590191d73573b545fa
author: cinap_lenrek <[email protected]>
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);