mrg
5eebeb71e5
generate options.h like we do for gcc4/backend. so far only seems to
...
be strictly necessary for powerpc so allow the old MI defs.mk to be
used if a MD one does not exist. when all platforms are regenerated
this support can be removed along with libobjc4/defs.mk.
2006-05-23 10:59:03 +00:00
mrg
445a28d54e
also grab ALL_OPT_FILES from gcc/Makefile for libobjc4.
2006-05-23 10:55:55 +00:00
pavel
8f6c91f9fd
Enable the gsip driver. Worked when I (lightly) tested it.
...
No objections on port-sgipips@.
2006-05-23 08:18:35 +00:00
christos
4c1a6c8705
Coverity CID 3671: Cast close to void and don't close negative fds.
2006-05-23 01:36:36 +00:00
uwe
828f707790
Add more "static" so that only j6x0tp_ca (and j6x0tp_debug) are visible.
2006-05-23 01:34:49 +00:00
christos
1dc235cd39
Coverity CID 2448: Remove extra NULL check.
2006-05-23 01:29:31 +00:00
christos
ae76bda7d7
Coverity CID 3227, 3226: Don't leak fd's
2006-05-23 01:23:49 +00:00
christos
ce35e5d7d7
Coverity CID 1567: Don't leak memory.
2006-05-23 01:18:19 +00:00
christos
1c2d89173e
Coverity CID 2534: Avoid use after free; this cannot really happen, but
...
coverity cannot figure it out.
2006-05-23 01:16:33 +00:00
christos
1fc5ea78ff
Coverity CID 3184: Don't dereference NULL
2006-05-23 01:11:12 +00:00
christos
d257792f4a
Coverity CID 3187: Fix memory leak
2006-05-23 01:07:16 +00:00
christos
e73d73289c
Coverity CID 3287: Comment out dead code.
2006-05-23 01:03:16 +00:00
christos
4d02435f76
Coverity CID 3677: Plug memory leak
2006-05-23 00:58:42 +00:00
yamt
be46b8e46c
KNF. wrap a long line.
2006-05-23 00:43:30 +00:00
wiz
6f524b4705
Punctuation nit.
2006-05-22 21:55:01 +00:00
kleink
bf44a81954
Clarify that strerror() doesn't return EINVAL but stores in errno;
...
prompted by Thomas Klausner.
2006-05-22 21:40:33 +00:00
uwe
497c1ccc27
Provide __movmem* aliases to __movstr* functions.
...
Gcc4 uses movmem, older versions use movstr.
2006-05-22 21:34:08 +00:00
rpaulo
46ecc3073d
First round at adapting to our net80211 stack. Unfinished work, but at least
...
won't make the machine panic.
2006-05-22 21:01:15 +00:00
uwe
9001bc2fd8
G/c #ifdef PIC we inherited from the userland.
2006-05-22 20:56:44 +00:00
he
c6974f26a9
Use the value-returning variants of the 64-bit endian macros instead
...
of the argument-tweaking variants (e.g. htobe64 instead of HTOBE64).
2006-05-22 20:48:08 +00:00
uwe
24172f6f4d
#include <dev/wscons/wsksymvar.h> as gcc4 doesn't like arrays,
...
pckbd_keydesctab[] in this case, with incomplete element types (older
versions of gcc allow them as long as you don't try to access them).
2006-05-22 20:40:07 +00:00
uwe
5ea47b2f6b
That cast doesn't need to add const.
2006-05-22 20:17:03 +00:00
uwe
5efcb4b549
Use proper cast instead of gagging gcc4 with -Wno-pointer-sign.
2006-05-22 20:06:54 +00:00
drochner
eb92277cd7
sprinkle some __noreturn__ attributes, saves gcc4 warnings elsewhere
2006-05-22 19:49:09 +00:00
drochner
2f959928c8
make sure bswap64() returns an uint64_t, not an unsigned long long,
...
which is incompatible for gcc4 on alpha at least
2006-05-22 16:28:27 +00:00
yamt
7445825948
i386 and xen: move struct user to the highest address in uarea
...
and reduce UPAGES from 4 to 3 in the case of !NOREDZONE.
2006-05-22 13:44:53 +00:00
yamt
1075c99d89
introduce macros, UAREA_TO_USER and USER_TO_UAREA,
...
to convert uarea VA into a pointer to struct user and vice versa,
so that MD code can change the layout in uarea.
2006-05-22 13:43:54 +00:00
yamt
b43dc97b09
use consistent order of function specifiers and type specifiers.
...
(int inline -> inline int)
2006-05-22 12:42:01 +00:00
dan
450da78dd9
the intention of the whole tip-as-cu thing was to allow tip-as-cu and
...
have a cu command installed, even when the rest of uucp was removed
via MKUUCP=no. The old uucp-derived cu is no more, and is not
installed in either case.
make it so, by correcting some confusion that had made the non-uucp
tip-as-cu cu conditional on MKUUCP
2006-05-22 12:32:20 +00:00
mrg
d6b63d330d
use "j" instead of "ll" for intmax_t and friends.
...
XXX: we should probably use "j" for all(?) other platforms as well
(just for intmax_t and friends.)
2006-05-22 07:38:41 +00:00
mrg
ad76e73707
apply -Wno-pointer-sign to tp.c.
2006-05-22 07:36:52 +00:00
mrg
13f78de634
add NULLFS and re(4) (both tested.)
2006-05-22 07:20:18 +00:00
uwe
d5328b65a0
Enable -Wold-style-cast for sh3 now that its stadarg.h doesn't use LHS casts.
2006-05-22 00:43:04 +00:00
christos
770d099190
add void casts.
2006-05-22 00:09:34 +00:00
christos
35c4405d50
void casts.
2006-05-22 00:09:08 +00:00
christos
fe6055587f
void casts to functions whose return values are ignored.
2006-05-21 23:56:09 +00:00
christos
b0eb4bc8ee
Remove packed attributes gcc-4 dislikes.
2006-05-21 23:55:22 +00:00
uwe
943edbd0d8
Nuke va-sh.h. stdarg.h and varargs.h now use __builtin_va_*.
2006-05-21 23:14:13 +00:00
cube
d897e3cfdb
Include <sys/kauth.h> because it's needed.
2006-05-21 22:51:27 +00:00
uwe
9458b164a6
New stdarg.h and varargs.h based on arm and i386 versions.
...
Use __builtin_va_* instead of hand written code in va-sh.h that uses
LHS casts. Slightly worse code is generated by gcc 3.3.3, but LHS
casts are outlawed in gcc 3.3.6 and gcc 4.
Build-tested on hpcsh (le) and mmeye (be), run-tested on hpcsh.
2006-05-21 22:39:04 +00:00
liamjfoy
362a260c6d
check if malloc(3) failed
...
ok joerg@
2006-05-21 21:01:55 +00:00
chap
0896642114
chap-midi is ready for testing.
2006-05-21 20:58:27 +00:00
dsl
35fde98d40
Reduce the field widths for the summary line of traps, system calls
...
and interrupts so that the numbers don't all run into one.
2006-05-21 20:22:34 +00:00
christos
1ab2316281
use warn/warnx instead of perror/fprintf
...
use get/set progname.
2006-05-21 19:26:43 +00:00
christos
663ee5bb90
Coverity CID 2956: Avoid NULL deref.
2006-05-21 17:41:20 +00:00
christos
f84c1e59e0
Coverity CID 2958: Avoid NULL deref.
2006-05-21 17:39:10 +00:00
christos
a7631b82f6
Coverity CID 2974: Check for negative before assigning to unsigned variable
2006-05-21 17:35:23 +00:00
christos
884667d071
Coverity CID 3491, 3492: Plug memory leaks.
2006-05-21 17:32:23 +00:00
christos
555b8edb2d
Coverity CID 3493: Comment out dead code.
2006-05-21 17:26:08 +00:00
christos
d159dc82e4
Coverity CID 3494: Plug memory leak.
2006-05-21 17:23:36 +00:00