Commit Graph

8777 Commits

Author SHA1 Message Date
lukem
171d653219 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
kleink
5976f8aa56 Retire local union { floating-type; struct ieee_prec; } in favor of those
available from <machine/ieee.h>
2003-10-27 00:05:46 +00:00
kleink
55337d2d6f On FPA, switch back `long double' to double-precision. According to
Richard Earnshaw, extended-precision was never supported by the compiler.
2003-10-26 16:00:17 +00:00
kleink
be5cd162d0 Use the generic long double' == double' versions on m68000. 2003-10-26 10:03:11 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
kleink
a98b4bac65 Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
2003-10-26 00:48:14 +00:00
kleink
e9788d63be Whitespace cosmetics. 2003-10-25 22:43:26 +00:00
kleink
142c4159e8 libc.so.12.106: __infinityf, __infinityl. 2003-10-25 22:33:14 +00:00
kleink
9f3dbee22c Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
2003-10-25 22:31:20 +00:00
kleink
8e2428c2c6 Remove an unnecessary line continuation backslash from previous. 2003-10-25 21:54:30 +00:00
kleink
c6126e1095 Sync with i386:
Update to account for separate handling of the explicit integer bit;
simplifies a little.
2003-10-25 21:48:34 +00:00
kleink
044354301a Update to account for separate handling of the explicit integer bit;
simplifies a little.
2003-10-25 21:42:07 +00:00
kleink
72315d3199 Update for FPA 80-bit extended-precision format. 2003-10-25 18:37:43 +00:00
kleink
25de9f5e2a Swap VFP and FPA sections to match the style of most other code;
no functional change.
2003-10-25 17:57:15 +00:00
cl
342cbd284f replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
2003-10-25 17:13:57 +00:00
kleink
bb5e0820bc Redo the VFP/endianness conditional logic of this file, making it easier
to read.  No functional change except for the side-effect of fixing the
ARMEB FPA case, which wasn't supported anyway.
2003-10-25 16:17:44 +00:00
he
6afbde6005 Correct another typo. 2003-10-25 14:51:16 +00:00
kleink
15e03bd18f Pasto in previous. 2003-10-25 14:31:21 +00:00
christos
075b83474e add a pair of double quotes. 2003-10-25 07:53:12 +00:00
christos
5028fe3e04 delint pointer casts. 2003-10-25 07:31:27 +00:00
christos
ad96bb0dec remove unused variable 2003-10-25 07:31:12 +00:00
christos
9ee15c697a Another fix for incremental search prev. 2003-10-25 06:42:41 +00:00
kleink
661f76699f POSIX: when attempting to fdatasync(2) a file which is not open for
writing, fail with EBADF.
2003-10-25 01:18:01 +00:00
kleink
17bcc01b65 Oops, re-add line continuation. 2003-10-24 19:50:13 +00:00
yamt
2016949b00 update a comment. 2003-10-24 17:35:22 +00:00
kleink
4ca4f9f41a Add an error check to ensure these are used on platforms without a
distinct long doble type only.
2003-10-24 10:30:36 +00:00
uwe
d469976b59 In PIC code "braf" to cerror, not "bsrf" to it! 2003-10-24 04:41:28 +00:00
kleink
712c8de209 * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
  platforms where `long double' == `double'; move others into
  machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
2003-10-24 00:58:01 +00:00
scw
2ffebceb85 Duh, fix the align-to-32-bits code. 2003-10-23 20:46:40 +00:00
jmc
0c336c7f37 Move include for reentrant.h inside CONFIG_H test so this works correctly
with tools/compat. Fixes PR#21344
2003-10-23 20:06:16 +00:00
kleink
6cded84c4b Fix an RCS Id botch that occured when renaming. 2003-10-23 00:04:57 +00:00
kleink
22396ac6f7 G/c __nanf2, which is neither being used nor the representation of a NaN. 2003-10-22 23:50:47 +00:00
kleink
77e57be326 For a double-extended NaN, the exponent must be EXT_EXP_INFNAN, not
DBL_EXP_INFNAN.
2003-10-22 21:37:34 +00:00
drochner
9122b04d59 the last argument to recvfrom() is a pointer, so use "NULL" for
consistency
2003-10-22 15:40:19 +00:00
drochner
71baa97c0b -don't update the RPC server address with the reply's sender address;
this breaks server failover under some circumstances, and Solaris doesn't
 seem to do it either
-minor cleanup
approved by fvdl
2003-10-22 15:38:31 +00:00
fvdl
4e8e6f8ceb Don't compare an int to NULL. 2003-10-21 01:10:47 +00:00
fvdl
bada5458de Don't use NULL to compare against an int. 2003-10-21 00:55:05 +00:00
fvdl
03831599c1 The last argument to sysctl is a size_t, not a pointer; don't pass NULL. 2003-10-21 00:47:46 +00:00
fvdl
3144ca7d6b Don't compare a char to NULL. 2003-10-21 00:30:05 +00:00
fvdl
f8ba2b4d70 Don't compare an int against NULL. 2003-10-21 00:25:21 +00:00
fvdl
79cc88df48 Don't use NULL to compare against an int. 2003-10-21 00:16:55 +00:00
fvdl
b279ed6377 Don't compare NULL against a character. 2003-10-21 00:07:17 +00:00
fvdl
bc018099a2 Don't use NULL to compare against a char. 2003-10-21 00:03:47 +00:00
fvdl
39d7a2e359 Don't use NULL to compare against a character. 2003-10-21 00:00:34 +00:00
fvdl
c2405107f1 Correct and simplify computing the return point; just use PC-relative
addressing.
2003-10-20 14:50:18 +00:00
fvdl
b30e737545 Make sure the stack stays aligned. 2003-10-19 21:45:03 +00:00
christos
52215a07e7 add rl_catch_signals 2003-10-19 06:28:35 +00:00
wiz
2af5f10bcc Bump date for previous. 2003-10-19 01:26:11 +00:00
christos
6e782349a3 change allocation policy in el_push to allocate the string itself.
fix issues with strdup.
2003-10-18 23:48:42 +00:00
christos
acc8915b44 make forward incremental search work better. 2003-10-18 23:27:36 +00:00