Commit Graph

147017 Commits

Author SHA1 Message Date
christos
f88f667da4 Coverity CID 3367, 3368: Avoid NULL deref. 2006-05-13 21:54:13 +00:00
christos
4f633ea02a Coverity CID 3368: Fix memory leak. 2006-05-13 21:48:00 +00:00
christos
16464dcda5 Coverity CID 3369: Fix memory leak. 2006-05-13 21:42:45 +00:00
christos
2701e5b9be Coverity CID 3330: Initialize uninitialized variable. 2006-05-13 21:22:32 +00:00
christos
78b76e5792 Coverity CID 3331: Remove impossible test. 2006-05-13 21:18:57 +00:00
christos
01caf31f3a Cleanup KNF, WARNS=4.
Phew, this started just to make set() static so that coverity does not get
confused.
2006-05-13 20:46:15 +00:00
christos
e80f354dab Coverity CID 3384: Don't close -1. 2006-05-13 19:47:22 +00:00
rpaulo
57231b0296 Sync with FreeBSD rev. 1.103: OpenBSD 3.9 and FreeBSD 6.1. 2006-05-13 18:49:28 +00:00
xtraeme
512483ae83 Fix typo in previous... it.4 belongs to man4 not man3 :-) 2006-05-13 17:24:34 +00:00
rpaulo
954aca6287 Mention RFC 3542 support. 2006-05-13 15:57:19 +00:00
liamjfoy
5bafb9022a reference uptime(1) correctly
ok joerg@
2006-05-13 12:41:54 +00:00
lukem
c75cb560f1 support MAKEVERBOSE 2006-05-13 12:02:54 +00:00
mrg
0e02d282f4 define ENABLE_EXECUTE_STACK to nothing so that _enable_execute_stack()
isn't the empty function in libgcc2.c, but the netbsd one.  powerpc
seems to work somewhat better now...
2006-05-13 10:38:33 +00:00
lukem
e7526fa7ea support MAKEVERBOSE 2006-05-13 09:14:14 +00:00
lukem
261d50393a Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-13 09:13:11 +00:00
xtraeme
04b76accfc This driver does not support IT87xxF chips anymore. 2006-05-13 09:06:25 +00:00
xtraeme
fda8d0a4d7 Xref it(4) 2006-05-13 09:04:48 +00:00
xtraeme
3b291301d4 Remove code for the IT87xxF chipsets, it was included on its own
driver (it(4)).
2006-05-13 09:03:21 +00:00
xtraeme
33a96be9f2 Driver for iTE IT87xxF and compatibles hardware monitor. Add
commented out entries on GENERIC and GENERIC_LAPTOP.

Adapted from OpenBSD.
2006-05-13 09:02:18 +00:00
skrll
214053461e Fix some more comments. 2006-05-13 08:56:08 +00:00
mrg
cde4dbaf34 add support for sets with HAVE_GCC=4:
- move fortran programs from mi.* to {tc,gcc}.*
- clone gcc.* and add new headers and shlibs to gcc4.*
2006-05-13 07:17:54 +00:00
lukem
f2e1749b26 support MAKEVERBOSE 2006-05-13 04:12:33 +00:00
lukem
dff2a78d7a Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-13 04:11:04 +00:00
matt
0e504287d7 Fix a problem when an exec page is mapped, modified, and then unmapped.
Make sure to either clear the execness or sync the page to the icache.

This fixes gdb testsuite failures.  Thanks for nathanw for testing.
2006-05-13 04:04:45 +00:00
lukem
176b81e4ff Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-13 03:37:47 +00:00
lukem
032741abf4 support MAKEVERBOSE 2006-05-13 03:19:28 +00:00
lukem
a6f0ba44b5 When creating BASE.rom, don't use BASE.bin as a temporary filename,
since the latter is a valid target name.
2006-05-13 02:47:03 +00:00
lukem
667bf36cad support MAKEVERBOSE 2006-05-13 02:33:40 +00:00
uwe
e37068ccdf Force building and installing libgcc_pic.a when MKPIC=yes even when
MKPICINSTALL=no, as it is required to build shared libraries.  Move it
to comp-c-lib set to match crtbeginS.o
2006-05-13 01:50:51 +00:00
mrg
6688c1d37d merge the LIBGCC_PICSUFFIX and NETBSD_NATIVE support from GCC3.
now hello.c and hello.cc both work!
2006-05-13 01:49:30 +00:00
mrg
f2a1fc4b01 actually, define STANDARD_LIBEXEC_PREFIX as STANDARD_EXEC_PREFIX in
the NETBSD_NATIVE case, since that's what it really is.
2006-05-13 01:48:14 +00:00
mrg
6e5288e9d6 STANDARD_LIBEXEC_PREFIX needs to end with a /. 2006-05-13 01:43:17 +00:00
mrg
169832563d with GCC4 we *need* to pass -fno-unit-at-a-time otherwise GCC
reorders things breaking _init() and _fini().

for i386, the {init,fini}_fallthru() functions were being output
_before_ the _init()/ _fini(), and instead of falling through to
the rest of the .init/.fini section, it would fall through to
_init()/_fini() again, and again, and again, until the stack was
exhausted.

now i386 works, but i have not checked that this works for
sparc64 as well.
2006-05-13 01:40:34 +00:00
mrg
a281677257 properly build the version string with spaces. 2006-05-13 01:18:37 +00:00
gdamore
d92bd53f93 Correct two problems with established timings. First, the wrong hex value
was being read due to using the same byte twice.

Second, the ordered list of names was *backwards* in the _edid_modes list.
2006-05-13 00:39:19 +00:00
perseant
285f68c114 Fixes to address the "vinvalbuf: dirty blocks" panic that can occur when
many inodes are cleaned at once.  Make sure that we write all the pages
on vnodes that are being flushed, even if we don't think there's room;
drain v_numoutput before lfs_vflush() completes.

Also, don't allow a vnode that is in the process of being cleaned to be
chosen by getnewvnode(); this avoids a segment accounting panic in the case
that a large number of inodes are fed to lfs_markv() all at once.
2006-05-12 23:36:11 +00:00
uwe
ada9aa3cee De-__P. 2006-05-12 23:35:24 +00:00
dsl
2073f7f26c Fix use of uninitialised variable.
I think the code it correct - but since it is only relevant when setting
the default boot partition (for mbr_bootsel) to an extended partition
it probably doesn't matter too often!
2006-05-12 21:22:34 +00:00
rpaulo
2134afa7ad By popular demand, this should be done by config(1). 2006-05-12 20:39:39 +00:00
perseant
45dc123d6e Be more careful about checking return value of {m,re}alloc().
In determining when to stop reading segments when counting bytes (-b flag),
total the sizes of the blocks we're actually writing instead of assuming
they are all full blocks: many could be fragments or inode blocks.  This
increases the number of segments per Ifile write, markedly improving the
efficiency of the cleaner in the small file case.
2006-05-12 19:33:02 +00:00
mrg
5f1d5cdb57 note that libsa/Makefile and crontab/Makefile have -Wno-pointer-sign and
-fno-strict-aliasing applied.
2006-05-12 18:06:29 +00:00
mrg
c08a446c31 set AR and RANLIB to the host versions in MAKE_ARGS - otherwise the
build of the "build-libiberty" fails due to these being set to "".
2006-05-12 18:01:13 +00:00
mrg
c80d901665 put MAKE_ARGS in the gmake command line. 2006-05-12 18:00:27 +00:00
mrg
6a3e7ce9e1 apply -fno-strict-aliasing to changepw.c 2006-05-12 18:00:06 +00:00
dogcow
dcc4a379f8 as mrg@ points out, including <bsd.own.mk> is the proper fix. 2006-05-12 16:45:12 +00:00
nathanw
a255fcef8d Fix a typo in a comment. 2006-05-12 16:01:05 +00:00
christos
fc079150a4 prepend cvs_ to all the x* functions to avoid coverity conflicts with other
programs.
2006-05-12 15:41:53 +00:00
christos
7c8717d509 Revert previous coverity fixes because they were caused by the wrong model
(xstrdup() from xlint was used instead of the locally defined one). Replace
with assertions instead (from Mark D. Baushke)
2006-05-12 15:33:17 +00:00
he
6dedaa9f94 List one more gcc 3.3.3 -Wuninitialized fix. 2006-05-12 13:32:50 +00:00
he
c4447252c1 Appease gcc 3.3.3 once more, marked with /* -Wuninitialized [many] */,
as it fixes build problem for many archs.
2006-05-12 13:31:56 +00:00