diff options
author | bde <bde@FreeBSD.org> | 1997-02-16 18:26:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-02-16 18:26:31 +0000 |
commit | 9e8f1bd4ec847780eb9aaf168c43f1271f0e37f5 (patch) | |
tree | ceebd776f63210707bd1eec59b604a7213f9a2ac /etc | |
parent | 85bd6daaf1022d92875e9125182a7b3db3f3b183 (diff) | |
download | FreeBSD-src-9e8f1bd4ec847780eb9aaf168c43f1271f0e37f5.zip FreeBSD-src-9e8f1bd4ec847780eb9aaf168c43f1271f0e37f5.tar.gz |
Select between the generic math functions and the i387-specific ones
at runtime.
etc/make.conf:
Nuked HAVE_FPU option.
lib/msun/Makefile:
Always build the i387 objects. Copy the i387 source files at build
time so that the i387 objects have different names. This is simpler
than renaming the files in the cvs repository or repeating half of
bsd.lib.mk to add explicit rules.
lib/msun/src/*.c:
Renamed all functions that have an i387-specific version by adding
`__generic_' to their names.
lib/msun/src/get_hw_float.c:
New file for getting machdep.hw_float from the kernel.
sys/i386/include/asmacros.h:
Abuse the ENTRY() macro to generate jump vectors and associated code.
This works much like PIC PLT dynamic initialization. The PIC case is
messy. The old i387 entry points are renamed. Renaming is easier
here because the names are given by macro expansions.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults/make.conf | 6 | ||||
-rw-r--r-- | etc/make.conf | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index 0b49ca1..7fee7a8 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -31,12 +31,6 @@ #WANT_CSRG_LIBM= yes # # -# If you have a FPU (i387, i486DX, Pentium), you can make -# the Sun libm use the FPU: -# -#HAVE_FPU= yes -# -# # If you do not want unformatted manual pages to be compressed # when they are installed: # diff --git a/etc/make.conf b/etc/make.conf index 0b49ca1..7fee7a8 100644 --- a/etc/make.conf +++ b/etc/make.conf @@ -31,12 +31,6 @@ #WANT_CSRG_LIBM= yes # # -# If you have a FPU (i387, i486DX, Pentium), you can make -# the Sun libm use the FPU: -# -#HAVE_FPU= yes -# -# # If you do not want unformatted manual pages to be compressed # when they are installed: # |