Commit Graph

59 Commits

Author SHA1 Message Date
matt 0202d560cf Compile libm on VAX at WARNS=2; leave other architectures at WARNS=1 2002-06-15 00:13:07 +00:00
ross de50fe2e64 Drink ALL the Kool-Aid.
(Move -mieee from lib/ to bsd.*.mk; new var MKIEEEFP defaults to yes.)
2002-01-27 23:33:51 +00:00
thorpej 4586df0992 On Alpha, build libc and libm with -mieee ... A metric crapload
of 3rd party software expects this.

XXX TODO: consider libm-fast for alpha that is not -mieee.  Possibly
determine -mieee or not at run-time based on a bit in the executable
headers.
2002-01-27 21:59:18 +00:00
lukem efcc9a4c9d * Add user-controlled mk.conf variables
- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
tv 001067bbd1 Readability cleanups; MKfoo=no -> NOfoo. 2001-12-12 00:51:00 +00:00
lukem c1b95c0073 explicitly set to WARNS?=1 2001-11-05 15:22:23 +00:00
fvdl d27b141b4e Use arch/i387 for x86_64. 2001-06-19 00:25:36 +00:00
christos 25b059b813 If we are not including i387 support in libm, build a separate libi387. 1999-12-13 09:40:27 +00:00
is 7afc17a12a Use arch/m68k copies of the common functions even for mc68881 hardware. 1999-08-22 18:28:37 +00:00
is beb22e60b3 Pull in Motorola 68060 floating point library support package based
libm code, .ifdef M68060.
1999-08-19 21:53:03 +00:00
kleink b3f30828b1 Document isinff(3) and isnanf(3), cloned from the corresponding double-
precision manual page.  It is kept separately since the latter are part of
libc and thus impose different linkage instructions.
1999-08-16 23:10:20 +00:00
kleink 72c8365c20 Document reentrant log gamma interfaces. 1999-08-16 12:35:18 +00:00
kleink f8173630a0 Add single-precision versions of interfaces to their manual pages' NAME section
and install links as appropriate.
1999-08-15 22:23:53 +00:00
simonb 42724dd4d2 More trailing white space. 1999-07-02 15:37:33 +00:00
is 456bf68494 Quick and dirty hook to compile a non-6888[12] libm for 68040 and 68060.
This is switched to by the M68040 or M68060 defines.
XXX Eventually, a M060SP based libm should be built for M68060.
1999-07-01 20:46:35 +00:00
he 04d7a85c7b NOLINT -> MKLINT=no. 1999-02-15 09:33:41 +00:00
matt 5bf0199231 Fix PIC code and fix problem with obj dirs. 1998-11-11 15:26:14 +00:00
matt 99d642287b Actually build __setjmp.S/__sigsetjmp.S for vax. PICifiy the setjmp code.
Fix libm Makefile to handle obj directories.
1998-10-10 00:08:50 +00:00
ragge 9f749c2036 The Mariah chip lacks the POLYD instruction, so some assembly coded
calculations must be done in C instead. Fast fix until the POLY{D,F,G,H}
insn's are written.
1998-08-22 12:49:08 +00:00
perry 3e3611d479 on i386, use FPU instructions in libm if I387_LIBM is set, from dan@geek.com.au 1998-08-09 23:51:33 +00:00
cgd 0dfe3ba2cc move NOLINT definition 1998-02-19 06:58:07 +00:00
cgd 0924c4443d Make sure the reason that NOLINT is set is documented. Additionally
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
lukem 69c06ad713 use CPPFLAGS instead of CFLAGS 1997-10-23 02:41:28 +00:00
mikel c7534c9f97 kill tab on line by itself, keep contents within 80 columns 1997-10-18 05:34:11 +00:00
lukem bee8515057 rcsid facism, WARNSify 1997-10-09 11:26:55 +00:00
cgd f4543b19b0 force NOLINT on the Alpha, at least until we fix FP underflow/denorm handling 1996-12-19 08:03:40 +00:00
ragge 1ef19c7c74 Non-IEEE assembler files wasn't handled correctly. Trouble pointed out by
Robin Birch, fix by Mats O Jansson/Christos Zoulas.
1996-10-12 18:32:38 +00:00
explorer 7e4136b303 Add a continuation slash in the commented-out i387 section 1996-07-05 22:26:51 +00:00
jtc 9fc92b384e Add new i387 math functions to ARCH_SRCS 1996-07-03 18:02:43 +00:00
jtc 6f5348dbbd Enable mc68881 version of fmod 1996-06-26 14:39:49 +00:00
jtc 6655b8bb1f enable alpha-specific libm files 1996-06-26 07:38:42 +00:00
jtc 977400602b Changed w_gamma.c, w_gamma_r.c, w_gammaf.c, w_gammaf_r.c to call
__ieee754_lgamma_r or __ieee754_lgammaf_r.
Removed e_gamma.c, e_gamma_r.c, e_gammaf.c, e_gammaf_r.c, e_lgamma.c,
e_lgamma_f.c.
1995-11-20 22:06:19 +00:00
ragge a6a78ddeb9 Got Makefile to understand to use non-IEEE files on vax systems. 1995-10-10 23:43:31 +00:00
jtc 11fa45b258 Add i387 "float" functions to the makefile 1995-05-03 20:42:23 +00:00
jtc ea66efc784 Enable mc68881 versions of remainder() and scalb(). 1995-02-18 01:46:41 +00:00
cgd 3a370daf86 specify man pages the new way. 1994-12-22 09:44:45 +00:00
jtc c446bbd004 Added s_isinff.c 1994-09-25 17:31:51 +00:00
jtc 8346e333d0 Float versions of math functions. From Ian Taylor (ian@cygnus.com), with
minor changes by me.
1994-08-10 20:30:00 +00:00
jtc d72111c735 Update for mc68881 ceil(), floor(), & rint(), and s_sqrt.S -> e_sqrt.S
naming mistake.
1994-03-12 01:20:02 +00:00
jtc 593d18fc49 Added a ieee_test(3) man page (Like SunOS) derrived from an earlier copy
of ieee(3).  This man page describes logb, scalb, and significand, which
are really only useful for verifying IEEE754 compliance.
1994-03-11 17:18:54 +00:00
jtc cc2f880912 infnan was a vaxism. 1994-03-11 01:34:18 +00:00
jtc 2ed7077300 Added i387 version of significand(). 1994-03-10 18:13:32 +00:00
jtc 6ee224c2ec Christos Zoulas' Makefile fixes. 1994-03-08 17:20:51 +00:00
jtc efcdc02b30 Add cabs() & drem() for BSD libm compatibility. 1994-03-01 17:14:34 +00:00
jtc 5d19bb2922 Update manpages for new math library. 1994-02-25 19:32:18 +00:00
jtc 44adfd9d70 Compiled shared too. 1994-02-15 01:00:46 +00:00
jtc 39b2c53536 Comment out all functions that are also provided by our C library: fabs(),
frexp(), isnan(), ldexp(), and modf().
1994-02-14 17:32:56 +00:00
jtc c6776a9449 isnan() was provided by both C and Math libraries. 1994-02-14 17:07:07 +00:00
jtc c283017b5f Changes for fdlibm based math library 1994-02-11 18:35:35 +00:00
cgd 29c9f7be20 use .S not .s 1993-12-06 12:11:42 +00:00