CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Oct 10 06:13:30 UTC 2014

Modified Files:
src/usr.bin/config: gram.y sem.c sem.h

Log Message:
Split plain/interface/devclass attribute initializers.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/config/gram.y
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/config/sem.c
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/config/sem.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Oct 10 05:27:29 UTC 2014

Modified Files:
src/usr.bin/config: defs.h sem.c

Log Message:
Refactor attr definition and initialization a little.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/config/defs.h
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2014-10-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Oct 10 05:10:59 UTC 2014

Modified Files:
src/libexec/httpd: bozohttpd.c dir-index-bozo.c

Log Message:
don't truncate file sizes to 32 bits for directory indexes.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.19 -r1.20 src/libexec/httpd/dir-index-bozo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists

2014-10-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Oct 10 00:49:14 UTC 2014

Modified Files:
src/distrib/sets/lists/base: ad.aarch64 ad.arm ad.mips ad.powerpc
ad.riscv md.amd64 md.sparc64 shl.mi
src/distrib/sets/lists/debug: ad.aarch64 ad.arm ad.mips ad.powerpc
ad.riscv md.amd64 md.sparc64 shl.mi

Log Message:
bump libm for long double complex functions


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/base/ad.aarch64
cvs rdiff -u -r1.56 -r1.57 src/distrib/sets/lists/base/ad.arm
cvs rdiff -u -r1.51 -r1.52 src/distrib/sets/lists/base/ad.mips
cvs rdiff -u -r1.20 -r1.21 src/distrib/sets/lists/base/ad.powerpc
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/base/ad.riscv
cvs rdiff -u -r1.247 -r1.248 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.235 -r1.236 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.716 -r1.717 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.6 -r1.7 src/distrib/sets/lists/debug/ad.aarch64
cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/debug/ad.arm
cvs rdiff -u -r1.41 -r1.42 src/distrib/sets/lists/debug/ad.mips
cvs rdiff -u -r1.21 -r1.22 src/distrib/sets/lists/debug/ad.powerpc
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/debug/ad.riscv
cvs rdiff -u -r1.65 -r1.66 src/distrib/sets/lists/debug/md.amd64
cvs rdiff -u -r1.64 -r1.65 src/distrib/sets/lists/debug/md.sparc64
cvs rdiff -u -r1.75 -r1.76 src/distrib/sets/lists/debug/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm

2014-10-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Oct 10 00:48:18 UTC 2014

Modified Files:
src/lib/libm: shlib_version
src/lib/libm/complex: Makefile.inc cprojl.c
Added Files:
src/lib/libm/complex: cabsl.c cacoshl.c cacosl.c cargl.c casinhl.c
casinl.c catanl.c ccoshl.c ccosl.c cephes_subrl.c cephes_subrl.h
cexpl.c clogl.c cpowl.c csinhl.c csinl.c csqrtl.c ctanhl.c ctanl.c

Log Message:
Add the missing complex functions.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libm/shlib_version
cvs rdiff -u -r1.4 -r1.5 src/lib/libm/complex/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libm/complex/cabsl.c \
src/lib/libm/complex/cacoshl.c src/lib/libm/complex/cacosl.c \
src/lib/libm/complex/cargl.c src/lib/libm/complex/casinhl.c \
src/lib/libm/complex/casinl.c src/lib/libm/complex/catanl.c \
src/lib/libm/complex/ccoshl.c src/lib/libm/complex/ccosl.c \
src/lib/libm/complex/cephes_subrl.c src/lib/libm/complex/cephes_subrl.h \
src/lib/libm/complex/cexpl.c src/lib/libm/complex/clogl.c \
src/lib/libm/complex/cpowl.c src/lib/libm/complex/csinhl.c \
src/lib/libm/complex/csinl.c src/lib/libm/complex/csqrtl.c \
src/lib/libm/complex/ctanhl.c src/lib/libm/complex/ctanl.c
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/complex/cprojl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/netstat

2014-10-09 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Thu Oct  9 23:52:47 UTC 2014

Modified Files:
src/usr.bin/netstat: netstat.1

Log Message:
As described in kvm_openfiles(3), default core file is not /dev/kmem
but /dev/mem.  Actually, passing /dev/kmem to -M doesn't work.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/usr.bin/netstat/netstat.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/netstat

2014-10-09 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Thu Oct  9 23:45:47 UTC 2014

Modified Files:
src/usr.bin/netstat: main.c

Log Message:
Fix a bug introduced in rev. 1.62; it fails to negate (a && b).


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/usr.bin/netstat/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 19:33:43 UTC 2014

Modified Files:
src/usr.bin/config: mkmakefile.c

Log Message:
Style.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/config/mkmakefile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 19:27:05 UTC 2014

Modified Files:
src/usr.bin/config: defs.h files.c

Log Message:
FIT_FORCESELECT is never set anywhere.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.bin/config/defs.h
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/config/files.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 19:24:36 UTC 2014

Modified Files:
src/usr.bin/config: defs.h mkmakefile.c

Log Message:
FIT_NOPROLOGUE is never set anywhere.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.bin/config/defs.h
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/config/mkmakefile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 19:22:31 UTC 2014

Modified Files:
src/usr.bin/config: mkmakefile.c

Log Message:
Kill more unused indent code in emitfiles().


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/config/mkmakefile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 19:20:56 UTC 2014

Modified Files:
src/usr.bin/config: defs.h main.c mkmakefile.c

Log Message:
Steal -M to enable "modular" build.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/usr.bin/config/defs.h
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/config/main.c
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/config/mkmakefile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2014-10-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Oct  9 18:34:24 UTC 2014

Modified Files:
src/sys/arch/amd64/amd64: db_disasm.c
src/sys/arch/i386/i386: db_disasm.c

Log Message:
Fix bugs:
- aaa and daa were reversed. Same as *BSDs.
- fix operand order of shld and shrd. Same as *BSDs.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/amd64/amd64/db_disasm.c
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/i386/i386/db_disasm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 17:36:10 UTC 2014

Modified Files:
src/usr.bin/config: mkmakefile.c

Log Message:
Print one file per line.  Simplify code.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/config/mkmakefile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 17:22:55 UTC 2014

Modified Files:
src/usr.bin/config: mkmakefile.c

Log Message:
Correct inverted logic.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/config/mkmakefile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 17:00:15 UTC 2014

Modified Files:
src/usr.bin/config: mkmakefile.c

Log Message:
Implement code to generate Makefile to build netbsd via intermediate relocatable
object files.  Disabled for now.  Commit this for further experiments.

Kernel (netbsd) has been built as:

netbsd: *.o
ld -o netbsd *.o

Change this to:

netbsd: *.ko
ld -o netbsd *.ko
acpica.ko: ${OBJS.acpica}
ld -r acpica.ko ${OBJS.acpica}
:

You can call *.ko as a module, but this is not only beneficial for loadable
module, but also localize related text/data.  Various options/flags/params
will be able to be per-ko.  Unnecessary symbols can be hidden.  Many ideas
will follow.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/config/mkmakefile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/conf

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 16:35:57 UTC 2014

Modified Files:
src/sys/conf: Makefile.kern.inc

Log Message:
Define a command to generate relocatable objects using ld -r.


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 16:08:36 UTC 2014

Modified Files:
src/usr.bin/config: main.c sem.c

Log Message:
Always select the fallback allattr.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/config/main.c
cvs rdiff -u -r1.46 -r1.47 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 15:25:26 UTC 2014

Modified Files:
src/usr.bin/config: defs.h files.c sem.c

Log Message:
Define an implicit attribute "netbsd" internally to collect files that don't
belong to any specific attribute.

Eventually, all operations doing "foreach (files)" can be rewritten as "foreach
(attributes) foreach (files)".


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/config/defs.h
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/config/files.c
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 10:29:36 UTC 2014

Modified Files:
src/usr.bin/config: defs.h files.c sem.c

Log Message:
If a file is marked by an atom expression, like "file a.c foo", and if the
specified expression is an attribute, mark the file as belonging to the
attribute.

At this moment this information is not used for any purpose, but can be
traced by config -ddd.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/config/defs.h
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/config/files.c
cvs rdiff -u -r1.44 -r1.45 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 09:39:24 UTC 2014

Modified Files:
src/usr.bin/config: gram.y

Log Message:
Sort definition/selection rules to clarify which is which.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/config/gram.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Oct  9 07:43:55 UTC 2014

Modified Files:
src/usr.bin/config: defs.h

Log Message:
Provide a CFGDBG version for the tools build.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/config/defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 07:05:01 UTC 2014

Modified Files:
src/usr.bin/config: gram.y

Log Message:
The word "configuration" is too ambiguous; use "selection" meaning that
user selects some of provided "definitions".


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/config/gram.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.