Commit Graph

119788 Commits

Author SHA1 Message Date
christos
2c67a735b8 Provide the correct trap address to userland. 2003-10-27 00:15:24 +00:00
lukem
397ba902d6 enable ident strings for sources pulled in from libc 2003-10-27 00:14:59 +00:00
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
chs
44d9d27c84 don't print an uninitialized variable. 2003-10-26 23:42:57 +00:00
cl
7833f0afc9 now that MAKEDEV is generate, install it from ${.OBJDIR} 2003-10-26 23:34:29 +00:00
chris
25c741b8a6 Fix up some unitialised variables. 2003-10-26 23:11:15 +00:00
lukem
3d29fcd1f7 Fix previous:
*	Restore previous functionality which supported running postinstall
	with an extracted etc.tgz set as the "source" directory (i.e,
	/usr/src isn't available).  We do this by generating the MAKEDEV
	to ${SCRATCHDIR} if the real source is available, and leverage off
	the compare_dir() code that the rest of postinstall uses to support
	this functionality.

    *	Don't special case MACHINE_ARCH==arm; the MAKEDEV.awk should
	be doing that since etc/Makefile doesn't have similar special
	case code.  In any case, AFAICT the only MACHINE_ARCHs are
	"arm" and "armeb"; there is no "armel" in NetBSD.
2003-10-26 23:08:29 +00:00
fvdl
4784db999a Regen after clarifying IGPE1000 name. 2003-10-26 22:25:53 +00:00
fvdl
4589fc061f Make the name of the IGPE1000 a bit clearer. 2003-10-26 22:24:58 +00:00
jdolecek
ef31c1b29a update for unified, dynamically generated MAKEDEV - change 'makedev' item
to generate the MAKEDEV to scratch dir and compare that with the currently
installed /dev/MAKEDEV; also add -a MACHINE_ARCH option to explicitly
set machine architecture for non-native builds

problem with postinstall pointed out by Patrick Welche and Hubert Feyrer
in private e-mails
2003-10-26 21:57:11 +00:00
kleink
b37192f049 For convenient use in libc, add unions of the C floating types and their
corresponding structure definitions.
2003-10-26 21:46:46 +00:00
fvdl
7ec692e7d5 Regen after adding IGP01E1000. 2003-10-26 21:35:13 +00:00
jdolecek
80010daea8 regen after MAKEDEV2manpage.awk fixes:
* use " for 3 1/2 & 5 1/4 in fdc entry
* xref acorn32/opms(4) in pms# entry
* no longer xref scsictl(8) in scsibus# entry
2003-10-26 21:34:49 +00:00
fvdl
065b2aa956 Add Intel IGP01E1000 phy. 2003-10-26 21:34:44 +00:00
jdolecek
cf43cdd268 g/c the MAKEDEV(.local)? substitution - it's not needed
generate the .Xr commands for device manpage crossreferences directly,
we no longer need to replace 'foo(4)' in the source MAKEDEV.tmpl

replace other gensub() calls with equivalent gsub(), and fix output
for fdc (we want 3 1/2", 5 1/4" - not 3 1/2``, 5 1/4'')

add target translation for 'random' -> rnd(4) and 'scsibus#' -> scsi(4),
and fix typo in opms entry
2003-10-26 21:32:51 +00:00
jdolecek
fd9cf65324 g/c the 'see foo(X)' xrefs; this info is automatically generated
into MAKEDEV(8)
2003-10-26 21:21:50 +00:00
fvdl
5602142448 Fix unitialized var warning, add a comment to indicate that it's use
is suspect.
2003-10-26 21:03:34 +00:00
kleink
95971b8759 Correct the position of the QUIETNAN bit. 2003-10-26 20:59:51 +00:00
mhitch
4d65fcd111 Fix errors in processing the ELF sections. Gcc3 generated a .comment section
which was erroneously being added to the boot image size and loaded into the
boot image.
2003-10-26 20:57:37 +00:00
fvdl
404fa205d1 Fix (bogus) unitialized variable warning. 2003-10-26 20:55:57 +00:00
kleink
a3fabb9e7f Use <sys/ieee754.h> where applicable. 2003-10-26 20:55:30 +00:00
fvdl
f64435e552 Fix unitialized variable use. 2003-10-26 20:53:09 +00:00
kleink
7a331ee9a9 Add <sys/ieee754.h>. 2003-10-26 20:51:10 +00:00
kleink
a671ba71b3 Have a common place for definitions related to IEEE 754 single-precision
and double-precision formats.
2003-10-26 20:48:17 +00:00
chs
8caf978ec2 fix for systems which don't have st_*timespec. PR 23214. 2003-10-26 20:43:13 +00:00
christos
97ded127c6 Delete -Wno-uninitialized. Tested on sparc64 and i386. Rationale:
Gcc-3.3 produces valid warnings in most cases and uncovers bugs. In the
cases where a variable is known to be initialized, we initialize it and
add: /* XXX: gcc */. If a $MACHINE_ARCH's compiler is busted, it can add
-Wno-uninitialized in the MD Makefile.
2003-10-26 19:24:06 +00:00
christos
105af83a85 Fix uninitialized variable warning. 2003-10-26 19:18:16 +00:00
christos
2b104ea9cd use curproc, instead of homebrew test. 2003-10-26 19:17:41 +00:00
christos
8b88d0c462 Oops, the code that initialized pagesize was not actually used in the place
it was...
2003-10-26 19:17:10 +00:00
christos
594cf09925 Fix an uinitialized variable warning 2003-10-26 19:15:59 +00:00
christos
44cf8a09e9 Fix uninitialized variable warning. 2003-10-26 19:15:00 +00:00
christos
3684598911 Actually initialize the size that is printed in case of an error, so garbage
does not get printed.
2003-10-26 19:14:22 +00:00
christos
2e92e66166 don't use extra variables where there is no need to. 2003-10-26 19:13:18 +00:00
christos
4ca54df1ef Don't do the tsleep dance if timo is 0; simplify the code. 2003-10-26 19:12:50 +00:00
christos
05f07448b6 Another possibly uninitialized lasttx 2003-10-26 19:11:33 +00:00
christos
5220c0436c Fix unitialized variable warnings. 2003-10-26 19:10:42 +00:00
christos
82653d230d Fix uninitialized variable warnings.` 2003-10-26 19:09:44 +00:00
christos
93af726cde Don't return random garbage in the default case; return the smallest ring
descriptor instead.
2003-10-26 18:20:43 +00:00
christos
94920a3392 Add the declarations in init.c too (mentioned by Christian Limpach) 2003-10-26 17:49:24 +00:00
christos
34e2db4a3c Make this link and work again (from Christian Limpach) 2003-10-26 17:45:13 +00:00
christos
f9f34b91b1 Add a guide on how to add new NetBSD platform support to gdb. Requested by
mrg.
2003-10-26 17:18:04 +00:00
kleink
2683ad1336 Add a note how this file is to be used. 2003-10-26 16:44:20 +00:00
mycroft
7c363a7497 Remove dead hacks. 2003-10-26 16:35:18 +00:00
mycroft
1d19abe12e Remove optimization hack. 2003-10-26 16:34:07 +00:00
mycroft
6e508d1dff Remove alpha optimization hack. 2003-10-26 16:30:25 +00:00
tsutsui
93e8757186 Replace (a bunch of) NULL with '\0'. (we should define NUL?) 2003-10-26 16:15:55 +00:00
yamt
bfda434436 whitespace. 2003-10-26 16:04:00 +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
d54b367f5d Remove the FPA extended-precision format entirely; according to Richard
Earnshaw it was never supported by the toolchain.
2003-10-26 15:57:54 +00:00