git: f84135f69999 - main - libsoft: Remove

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 07 Jan 2022 05:46:56 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=f84135f699995c7c035bd6bed75cb7c4c169918e

commit f84135f699995c7c035bd6bed75cb7c4c169918e
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-01-07 05:34:25 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-01-07 05:44:07 +0000

    libsoft: Remove
    
    libsoft was a transition from the FreeBSD/armv6 10 (and earlier) with
    'softfp' ABI (that is, hardware float, but passed as integer registers)
    to the 'hardfp' ABI that was in FreeBSD/armv[67] in FreeBSD 11 and
    newer. It's been off by default since it was created.
    
    This was mostly used by people that wanted to do a source upgrade of
    their system from FreeBSD 10 to 11 or from 11-current before the cutover
    to 11-current after. This should not be confused with the full software
    floating point implementation (that doesn't use the hardware floating
    point instructions at all) that is used out of tree by at least one
    company selling armv7 gear that has no FPU.
    
    There's no longer a need for the transition, so retire it like should
    likely have happened sometime before FreeBSD 12 was released 3 years
    ago.
    
    Sponsored by:           Netflix
    Suggestions by:         jrtc27, jhb
    Reviewed by:            manu, mmel
    Differential Revision:  https://reviews.freebsd.org/D33761
---
 share/mk/src.opts.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 37bc5918a363..5aa7a6a45632 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -203,7 +203,6 @@ __DEFAULT_NO_OPTIONS = \
     DTRACE_TESTS \
     EXPERIMENTAL \
     HESIOD \
-    LIBSOFT \
     LOADER_FIREWIRE \
     LOADER_VERBOSE \
     LOADER_VERIEXEC_PASS_MANIFEST \
@@ -294,10 +293,6 @@ __DEFAULT_YES_OPTIONS+=LIB32
 .else
 BROKEN_OPTIONS+=LIB32
 .endif
-# Only doing soft float API stuff on armv6 and armv7
-.if ${__T} != "armv6" && ${__T} != "armv7"
-BROKEN_OPTIONS+=LIBSOFT
-.endif
 # EFI doesn't exist on powerpc (well, officially)
 .if ${__T:Mpowerpc*}
 BROKEN_OPTIONS+=EFI