diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-24 11:38:44 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-24 11:38:44 +0100 |
commit | 4e94094e941e908008ead1f574003c2ddc3113a0 (patch) | |
tree | 40603298fc0533a40c3bbb35b2c100a7cbbdbea7 | |
parent | 2ef69f42d8372d0efc046e590191d73573b545fa (diff) |
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.
-rw-r--r-- | sys/man/1/2l | 4 | ||||
-rw-r--r-- | sys/src/cmd/5l/span.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/man/1/2l b/sys/man/1/2l index dfdb132e5..b643efe13 100644 --- a/sys/man/1/2l +++ b/sys/man/1/2l @@ -102,8 +102,8 @@ and .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. diff --git a/sys/src/cmd/5l/span.c b/sys/src/cmd/5l/span.c index e3e02f1ac..17565e8fe 100644 --- a/sys/src/cmd/5l/span.c +++ b/sys/src/cmd/5l/span.c @@ -660,7 +660,7 @@ buildop(void) 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); |