From 4e94094e941e908008ead1f574003c2ddc3113a0 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 24 Dec 2014 11:38:44 +0100 Subject: [PATCH] 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. --- sys/man/1/2l | 4 ++-- 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