Commit Graph

119764 Commits

Author SHA1 Message Date
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
tsutsui
bf9fad7ca4 Cast through (void *) to appease gcc3. (now it's also warned on mipseb) 2003-10-26 14:52:52 +00:00
junyoung
21110867b5 Goodbye to bcmp.S, bcopy.S, and bzero.S. They are defined as macros in
sys/systm.h.
2003-10-26 14:39:35 +00:00
junyoung
6fe2633df0 Remove bcmp.S and bzero.S from list. They were doing nothing but wasting
kernel bits for a long time (2 years?).
2003-10-26 14:37:52 +00:00
dmcmahill
4134c82db7 add a -print to the find statement to avoid problems on solaris where
each file/directory/link is printed twice.  Fixes PR23270
2003-10-26 14:21:49 +00:00
jdolecek
b1210ba8ee style nits - use / re / instead of "re" for constant REs 2003-10-26 13:40:46 +00:00
jdolecek
eff7cd8291 bump the regular expression cache from 20 expressions to 128 2003-10-26 13:39:38 +00:00
jdolecek
9ce369b7f5 exit with fatal error if backreferences are used in subst string
of gensub(); these are not supported (yet) and better to fail with
error than to end up with silent incorrect substitution
2003-10-26 13:27:26 +00:00
jdolecek
f592a1fb33 update for SA_SIGINFO trapsignal changes 2003-10-26 13:19:30 +00:00
jdolecek
a95f0f5f7d fix NULL vs. 0 usage 2003-10-26 13:17:50 +00:00
he
706fa97ddd As a temporary workaround, use "ln -sf" to be compatible with the
checks in distrib/common/makedev2spec.awk, which insists on "-sf"
usage (which is arbuably a bug, and should be looked at more closely).
2003-10-26 12:42:55 +00:00
jdolecek
85204ef973 fix NULL vs. 0 usage 2003-10-26 11:45:46 +00:00
scw
4d7283b3ec Assume that if curpcb is NULL, we're already running with alignment
faults enabled.
2003-10-26 11:34:29 +00:00
jdolecek
a45cfadaff cleanup some (uschar **) to (char **) casts which break
strict aliasing rules, so that this builds with gcc 3.3; this was done
by changing variables & function arguments to uschar where appropriate
2003-10-26 11:34:23 +00:00
yamt
bc075cd173 use ffs() rather than handcrafted one for ipi bit search. 2003-10-26 11:30:42 +00:00
yamt
9be92e2eef issue PAUSE in the debug version of __cpu_simple_lock as well. 2003-10-26 11:28:21 +00:00
tsutsui
2685dee90d Remove -mcpu=r4000 from CFLAGS. It's no longer available on gcc3. 2003-10-26 11:27:54 +00:00
yamt
ab51be8e72 define SPINLOCK_SPIN_HOOK to let LK_SPIN lockmgr locks call x86_pause. 2003-10-26 11:15:16 +00:00
yamt
8122bbfb62 issue PAUSE during ipi rendezvous even with DIAGNOSTIC. 2003-10-26 11:09:13 +00:00
mycroft
fe2cafa2c3 Carefully tweak some makefs parameters so this builds.
XXX This is very fragile and has absolutely no slop space right now.
2003-10-26 10:59:57 +00:00
yamt
f16e031e00 don't grab kernel lock for SYCALL_MPSAFE syscalls. 2003-10-26 10:48:08 +00:00
jdolecek
ad67de5ad8 move ALLOCSYS() macro from <sys/systm.h> to kern_alloc.c - it's the
only place which uses it
2003-10-26 10:45:03 +00:00
mycroft
fc2aa2b3be Mention that we should be adding space for bitmaps. 2003-10-26 10:32:35 +00:00
jdolecek
2e59e9ae06 allocate virtual memory for SYSV shm, msg and semaphore structures
separately from the bufpages, so that it would be possible to eventually
make their limits changeable in runtime

make static all local variables which do not need to be exported to other
kernel parts
2003-10-26 10:32:24 +00:00
mycroft
f8ab7a4906 Remove a strange multiplication which appears to be incorrect. 2003-10-26 10:31:44 +00:00