Commit Graph

105773 Commits

Author SHA1 Message Date
kan
aa7daeefe5 Do not predeclare __inline functions, this makes no sense and generates
a warning with gcc 3.4.x.
2004-07-28 07:10:03 +00:00
kan
5008b82a17 Introduce SYSCTL_CHILDREN_SET macro which can be used in place of
cast as a value.
2004-07-28 07:08:39 +00:00
kan
4427f9af51 Emply __used attribute to prevent compiler from removing unreferenced
static symbols. This wasn't a problem with previous GCC releases, but
unit-at-a-time mode of GCC 3.4.2 prevents linker set components from
being emitted at all.
2004-07-28 07:07:16 +00:00
kan
88d0e4fb93 Introduce __used attribute which serves as logical conuterpart of
preexisting __unused.
2004-07-28 07:03:42 +00:00
kan
155eb2ef69 Introduce SLOT_SET macro and use it in place of casts as lvalues. 2004-07-28 07:01:33 +00:00
kan
3140931e1f Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
kan
f70e41029a Avoid casts as lvalues. Declare local variable as u_char * instead of
declaring it as u_short * and casting it back to uchar * all over the place.
2004-07-28 06:58:23 +00:00
kan
1fc93948ca Initialize ; variable eraly to shut up GCC warning. 2004-07-28 06:48:36 +00:00
kan
0a2cad60a9 Forced commit to note that prevois commit has nothing to do with casts
as lvalues. I meant to replace a bogus function cast with less bogus one.
2004-07-28 06:45:13 +00:00
kan
48b2ea77a3 Avoid casts as lvalues. 2004-07-28 06:42:41 +00:00
kan
586367666d Avoid using casts as lvalues. Introduce DIP_SET macro which sets proper
inode field based on UFS version. Use DIP ro read values and DIP_SET
to modify them throughout FFS code base.
2004-07-28 06:41:27 +00:00
kan
7a2c503e1b Avoid casts as lvalues. While here, avoid storing 32bit quantities in
16bit locations.
2004-07-28 06:32:28 +00:00
davidxu
5610a7e068 Use P_SINGLE_EXIT to check single-threading case, P_WEXIT is not for that
purpose.
2004-07-28 06:30:52 +00:00
kan
65947d062b Avoid casts as lvalues. 2004-07-28 06:30:43 +00:00
kan
4caefcbb3e Avoid casts as lvalues. 2004-07-28 06:21:53 +00:00
kan
6cabb1fb0d Make __packed attribute apply to structs themselves, not their typedefs.
GCC 3.4.2 issues warning about that.
2004-07-28 06:19:25 +00:00
ps
6213728da1 Name non-physical devices. 2004-07-28 06:18:05 +00:00
kan
81bb3b51b0 Initialize s variable early to shut up GCC warnings.
Do not declare inline functions without body as this is useless in
general and generates a warning with GCC 3.4.x.

Glanced over by:	dhartmei
2004-07-28 06:14:44 +00:00
kan
9e6b9c5d58 Allow for aggressive function inlining. This might have to be fine-tuned
later.
2004-07-28 06:07:02 +00:00
kan
cd2bbc3fed Avoid casts as lvalues. 2004-07-28 06:05:41 +00:00
kan
908c4ab709 Define our own memcpy here instead of relying on GCC to provide one. 2004-07-28 06:03:27 +00:00
kan
75991fc0ed Downgrade WARNS level until GCC 3.4.2 warning are fixed. 2004-07-28 06:00:09 +00:00
kan
bce3675a33 Avoid casts as lvalues. 2004-07-28 05:59:22 +00:00
kan
8951be1606 Downgrade WARNS level until GCC 3.4.2 warning have been fixed. 2004-07-28 05:57:48 +00:00
kan
d037fe2cca Work around known GCC 3.4.x problem and use ANSI prototype for dremf(). 2004-07-28 05:53:18 +00:00
kan
425239bf6e Downgrade WARNS level for GCC 3.4.2. 2004-07-28 05:49:15 +00:00
kan
c80f4c2e29 Avoid casts as lvalues. 2004-07-28 05:44:52 +00:00
kan
289257fe90 Downgrage WARNS level for GCC 3.4.x. 2004-07-28 05:44:07 +00:00
kan
9cd8c33985 Remove stale code protected by #ifdef sparc. GCC 3.4.x adds sparc to
predefined symbols on all SPARC platforms and FreeBSD follows the crowd.
2004-07-28 05:43:08 +00:00
kan
7e434fe38f s/round/fpround/ to avoid naming clash with GCC builtin function. 2004-07-28 05:41:05 +00:00
kan
939ed27f8c Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x. 2004-07-28 05:39:04 +00:00
kan
6ecc85d1ea Add missing () to function invocation. 2004-07-28 05:37:18 +00:00
kan
6e16eb36f4 Do not use casts as lvalues. 2004-07-28 05:33:58 +00:00
kan
482ec87e2d Bmake glue for GCC 3.4.2-prerelease. 2004-07-28 05:27:21 +00:00
kan
30330da27a We generate this file from config.h automatically. 2004-07-28 05:23:28 +00:00
kan
cf69a2cfcc Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info
GCC 3.4.3-prerelease sources.
2004-07-28 05:08:31 +00:00
kan
0e5ab1a9d3 Merge FreeBSD changes into GCC 3.4.2-prerelease:
1.2   Printf format errors fixes.
2004-07-28 05:06:59 +00:00
kan
9de6fbee58 Use stock version of this file now. 2004-07-28 05:03:19 +00:00
kan
a70ff0b3fe Update sparc64 MD bits to GCC 3.4.2-prerelease. 2004-07-28 05:00:13 +00:00
kan
c5977d90b8 Merge FreeBSD changes into GCC 3.4.2-prerelease:
1.2   Tweaks to make this file live beside our hacked config.
2004-07-28 04:56:54 +00:00
kan
4b2258bedc Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).
2004-07-28 04:49:58 +00:00
kan
64ff471645 Merge r1.11 (-mno-align-long-strings). 2004-07-28 04:47:35 +00:00
kan
e3a302e688 Update Amd64 MD bits for GCC 3.4.2-prerelease. 2004-07-28 04:44:23 +00:00
kan
bb9a6a1401 Update i386 MD bits for GCC 3.4.2-prerelease. 2004-07-28 04:41:42 +00:00
kan
594670f3cb Update Alpha config MD bits for GCC 3.4.2-prerelease. 2004-07-28 04:39:15 +00:00
kan
411f5b699e Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.8 Change symbol values to match freebsd.h.
2004-07-28 04:35:51 +00:00
kan
57af144a41 Update MI config bits for GCC 3.4.2-prerelease. 2004-07-28 04:34:05 +00:00
kan
2d2a84288c Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF
interpreter on FreeBSD 5.x series.
2004-07-28 04:31:47 +00:00
kan
57c77b7632 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2   Localize the version string.
2004-07-28 04:27:06 +00:00
kan
3f0662d51d -O0 -O1 should optimize alignment for time, not size. Moved from toplev.c. 2004-07-28 04:23:38 +00:00