CVS commit: src/lib/csu/powerpc

2011-07-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jul  2 07:28:08 UTC 2011

Modified Files:
src/lib/csu/powerpc: dot_init.h

Log Message:
Make this adhere to the SVR4 ABI.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/csu/powerpc/dot_init.h

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



CVS commit: src/sys/arch/powerpc/pic

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:08:25 UTC 2011

Modified Files:
src/sys/arch/powerpc/pic: pic_distopenpic.c

Log Message:
avoid some uninitialised variable warnings from GCC 4.5.  i'm pretty
sure they can't happen in practise, but i can see why GCC isn't sure.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/pic/pic_distopenpic.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/x86/x86

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:09:32 UTC 2011

Modified Files:
src/sys/arch/x86/x86: x86_autoconf.c

Log Message:
insert some (uintptr_t) between some casts involving pointer to int.
(they already had casts for the pointer.)


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/x86/x86/x86_autoconf.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/sparc/sparc

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:10:53 UTC 2011

Modified Files:
src/sys/arch/sparc/sparc: machdep.c

Log Message:
don't try to print fr_arg[6] since it doesn't exist.


To generate a diff of this commit:
cvs rdiff -u -r1.311 -r1.312 src/sys/arch/sparc/sparc/machdep.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/sparc64/sparc64

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:11:49 UTC 2011

Modified Files:
src/sys/arch/sparc64/sparc64: machdep.c

Log Message:
redo previous correctly:
don't try to print fr_arg[6] since it doesn't exist.


To generate a diff of this commit:
cvs rdiff -u -r1.259 -r1.260 src/sys/arch/sparc64/sparc64/machdep.c

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



CVS commit: src/sys/dev/ic

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:13:23 UTC 2011

Modified Files:
src/sys/dev/ic: i82586.c

Log Message:
listen to GCC 4.5 and change "!!x | y" into "(!!x) | y".


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/ic/i82586.c

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



CVS commit: src/sys/dev/isa

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:14:47 UTC 2011

Modified Files:
src/sys/dev/isa: gus.c

Log Message:
fix sequence point errors.  diff explains best:
-   sc->sc_playbuf = ++sc->sc_playbuf % sc->sc_nbufs;
+   sc->sc_playbuf = (sc->sc_playbuf + 1) % sc->sc_nbufs;


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/dev/isa/gus.c

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



CVS commit: src/sys/dev/ic

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:12:44 UTC 2011

Modified Files:
src/sys/dev/ic: aic79xx.c

Log Message:
avoid -Wenum-compare issue.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ic/aic79xx.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc/config/m68k

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:18:39 UTC 2011

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/m68k: netbsd-elf.h

Log Message:
TARGET_VERSION is used in collect2.c now.  avoid referencing the
m68k_cpu_flags variable and simply print "(NetBSD/m68k/68010 ELF)".


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h

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



CVS commit: src/sys/dev/sbus

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:21:30 UTC 2011

Modified Files:
src/sys/dev/sbus: spif.c

Log Message:
avoid some uninitialised variable warnings from GCC 4.5.  i'm pretty
sure they can't happen in practise, but i can see why GCC isn't sure.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/sbus/spif.c

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



CVS commit: src/tools/gcc

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:25:05 UTC 2011

Modified Files:
src/tools/gcc: mknative-gcc

Log Message:
also pull out LIB2ADD_ST for libgcc.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/tools/gcc/mknative-gcc

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



CVS commit: src/external/lgpl3/gmp/dist

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:26:39 UTC 2011

Modified Files:
src/external/lgpl3/gmp/dist: Makefile.in

Log Message:
split two sub-make targets into two separate make calls.
avoids an annoying -jN install problem.  idea from dh.  thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/lgpl3/gmp/dist/Makefile.in

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



CVS commit: src/external/lgpl3/gmp/lib/libgmp/arch/vax

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:36:57 UTC 2011

Added Files:
src/external/lgpl3/gmp/lib/libgmp/arch/vax: Makefile.inc config.h
config.m4 gmp-mparam.h gmp.h mp.h

Log Message:
initial versions of these for vax.  not 100% working yet.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/Makefile.inc \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/config.h \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/config.m4 \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/gmp-mparam.h \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/gmp.h \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/mp.h

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



CVS commit: src/external/lgpl3/gmp/lib/libgmp/arch/m68k

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 13:43:05 UTC 2011

Added Files:
src/external/lgpl3/gmp/lib/libgmp/arch/m68k: Makefile.inc config.h
config.m4 gmp-mparam.h gmp.h mp.h

Log Message:
gmp files for m68k.  seems to build ok, at least enough to run mknative-gcc.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/lgpl3/gmp/lib/libgmp/arch/m68k/Makefile.inc \
src/external/lgpl3/gmp/lib/libgmp/arch/m68k/config.h \
src/external/lgpl3/gmp/lib/libgmp/arch/m68k/config.m4 \
src/external/lgpl3/gmp/lib/libgmp/arch/m68k/gmp-mparam.h \
src/external/lgpl3/gmp/lib/libgmp/arch/m68k/gmp.h \
src/external/lgpl3/gmp/lib/libgmp/arch/m68k/mp.h

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



CVS commit: src/external/lgpl3/gmp

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:03:21 UTC 2011

Modified Files:
src/external/lgpl3/gmp: build-gmp-Makefile.inc.awk

Log Message:
also match .s and .S files for asm sources.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/lgpl3/gmp/build-gmp-Makefile.inc.awk

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



CVS commit: src/external/lgpl3/gmp/lib/libgmp/arch/vax

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:04:14 UTC 2011

Modified Files:
src/external/lgpl3/gmp/lib/libgmp/arch/vax: Makefile.inc config.m4

Log Message:
make this mostly appear to work by using the C versions for now.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/Makefile.inc \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/config.m4

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



CVS commit: src/external/lgpl3/gmp/lib/libgmp

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:04:30 UTC 2011

Modified Files:
src/external/lgpl3/gmp/lib/libgmp: Makefile

Log Message:
remove a stale XXX comment.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/lgpl3/gmp/lib/libgmp/Makefile

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



CVS commit: src/external/lgpl3/gmp/dist

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:05:03 UTC 2011

Modified Files:
src/external/lgpl3/gmp/dist: gmp-h.in

Log Message:
provide one of the ugly proto-prototypes for mpn_udiv_w_sdiv().


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/lgpl3/gmp/dist/gmp-h.in

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



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:06:42 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
add driver-rs6000.c and the remaining powerpc mknative-gcc files.  the
ppc native gcc now links but doesn't run yet properly.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/frontend/Makefile

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



CVS commit: src/external/lgpl3/mpfr/lib/libmpfr

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:08:45 UTC 2011

Modified Files:
src/external/lgpl3/mpfr/lib/libmpfr: Makefile

Log Message:
make this build on vax.

XXX:  need to check this for platforms besides x86 and sparc64 to see
XXX:  if HAVE_LDOUBLE_IEEE_EXT_LITTLE or friends should be defined.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/lgpl3/mpfr/lib/libmpfr/Makefile

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



CVS commit: src/external/gpl3/gcc

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:13:52 UTC 2011

Added Files:
src/external/gpl3/gcc/lib/crtstuff/arch: m68k.mk vax.mk
src/external/gpl3/gcc/lib/libgcc/arch: m68k.mk vax.mk
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/vax: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libiberty/arch/vax: config.h
src/external/gpl3/gcc/lib/libobjc/arch/m68k: config.h defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/vax: config.h defs.mk
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k: c++allocator.h
c++config.h config.h cxxabi_tweaks.h defs.mk gstdint.h
gthr-default.h gthr-posix.h gthr-single.h gthr-tpf.h gthr.h omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax: c++allocator.h
c++config.h config.h cxxabi_tweaks.h defs.mk gstdint.h
gthr-default.h gthr-posix.h gthr-single.h gthr-tpf.h gthr.h omp.h
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k: all-tree.def auto-host.h
bconfig.h bversion.h config.h configargs.h defs.mk gthr-default.h
gtyp-input.list multilib.h plugin-version.h tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/vax: all-tree.def auto-host.h
bconfig.h bversion.h config.h configargs.h defs.mk gthr-default.h
gtyp-input.list multilib.h plugin-version.h tm.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/m68k: config.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/vax: config.h
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/m68k: config.h
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/vax: config.h

Log Message:
mknative-gcc output for vax and m68k.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/crtstuff/arch/m68k.mk \
src/external/gpl3/gcc/lib/crtstuff/arch/vax.mk
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgcc/arch/m68k.mk \
src/external/gpl3/gcc/lib/libgcc/arch/vax.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k/defs.mk \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k/gcov-iov.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/vax/defs.mk \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/vax/gcov-iov.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libiberty/arch/vax/config.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libobjc/arch/m68k/config.h \
src/external/gpl3/gcc/lib/libobjc/arch/m68k/defs.mk
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libobjc/arch/vax/config.h \
src/external/gpl3/gcc/lib/libobjc/arch/vax/defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/c++allocator.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/c++config.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/config.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/cxxabi_tweaks.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/defs.mk \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gstdint.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr-default.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr-posix.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr-single.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr-tpf.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/omp.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/c++allocator.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/c++config.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/config.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/cxxabi_tweaks.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/defs.mk \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr-default.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr-posix.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr-single.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr-tpf.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/omp.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/all-tree.def \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/bconfig.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/bversion.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/config.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/configargs.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/defs.mk \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/gthr-default.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/multilib.h \
src/external/gpl3/

CVS commit: src/sys/arch/shark/conf

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:17:40 UTC 2011

Modified Files:
src/sys/arch/shark/conf: Makefile.shark.inc

Log Message:
also need to strip out GCC 4.5's new .debug_pubtypes section.
while here, minor cleanup.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/shark/conf/Makefile.shark.inc

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



CVS commit: src/external/gpl3/gcc/lib/libiberty/arch/m68k

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:28:14 UTC 2011

Added Files:
src/external/gpl3/gcc/lib/libiberty/arch/m68k: config.h

Log Message:
mknative-gcc output for vax and m68k.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libiberty/arch/m68k/config.h

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



CVS commit: src/sys/arch/shark/conf

2011-07-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jul  2 17:33:10 UTC 2011

Modified Files:
src/sys/arch/shark/conf: Makefile.shark.inc

Log Message:
Remove an extra backslash.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/shark/conf/Makefile.shark.inc

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



CVS commit: src

2011-07-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jul  2 17:37:29 UTC 2011

Modified Files:
src/distrib/cats/instkernel: Makefile
src/distrib/shark/instkernel/instkernel: Makefile
src/sys/arch/cats/conf: Makefile.cats.inc

Log Message:
Sync with src/sys/arch/shark/conf/Makefile.shark.inc rev 1.14:
> also need to strip out GCC 4.5's new .debug_pubtypes section.
> while here, minor cleanup.

XXX: probably we should have something like ${ARM_AOUT_REMOVE_SECTIONS}
XXX: in bsd.own.mk


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/cats/instkernel/Makefile
cvs rdiff -u -r1.21 -r1.22 src/distrib/shark/instkernel/instkernel/Makefile
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/cats/conf/Makefile.cats.inc

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



CVS commit: src/sys

2011-07-02 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sat Jul  2 17:53:51 UTC 2011

Modified Files:
src/sys/kern: init_main.c uipc_socket.c
src/sys/sys: socketvar.h

Log Message:
Fix kern/45093 as discussed on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2011/06/17/msg010734.html

The cause of the problem is that the so_pendfree is processed with
the softnet_lock held at one point, and processing the list
calls sodoloanfree() which may kpause(). As the thread sleeps with
softnet_lock held, it ultimately cause a deadlock (see the PR or tech-kern
thread for details).
Although it should be possible to call sodopendfree() after releasing
the socket lock, it's not so easy to know where he socket lock is held and
where it's not, so we may hit the issue again later.
Add a kernel thread to handle the so_pendfree list, and wake up this
thread when adding mbufs to this list. Get rid of the various sodopendfree()
calls, hopefully fixing definitively the problem.


To generate a diff of this commit:
cvs rdiff -u -r1.432 -r1.433 src/sys/kern/init_main.c
cvs rdiff -u -r1.204 -r1.205 src/sys/kern/uipc_socket.c
cvs rdiff -u -r1.125 -r1.126 src/sys/sys/socketvar.h

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



CVS commit: src/usr.sbin/ldpd

2011-07-02 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jul  2 18:17:12 UTC 2011

Modified Files:
src/usr.sbin/ldpd: main.c

Log Message:
return EXIT_SUCCESS and EXIT_FAILURE instead on 0 and -1


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/main.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/xen

2011-07-02 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sat Jul  2 19:07:56 UTC 2011

Modified Files:
src/sys/arch/xen/xen: evtchn.c
src/sys/arch/xen/xenbus: xenbus_comms.c

Log Message:
Remove all return error checks for event_set_handler(...). It either
succeeds or end in panic.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/xen/xen/evtchn.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/xen/xenbus/xenbus_comms.c

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



CVS commit: src/lib/csu/arch/vax

2011-07-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jul  2 20:14:10 UTC 2011

Modified Files:
src/lib/csu/arch/vax: crt0.S

Log Message:
Adapt to the new ___start calling convention


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/vax/crt0.S

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



CVS commit: src/lib/csu/arch/powerpc

2011-07-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jul  2 20:16:09 UTC 2011

Modified Files:
src/lib/csu/arch/powerpc: crt0.S

Log Message:
The kernel and ld.elf_so call with a different order for
cleanup, obj, ps_strings so deal with it.
With this change, USE_COMPILERCRTSTUFF=no works.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/powerpc/crt0.S

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



CVS commit: src/share/mk

2011-07-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jul  2 20:21:16 UTC 2011

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Switch powerpc to USE_COMPILERCRTSTUFF=no


To generate a diff of this commit:
cvs rdiff -u -r1.672 -r1.673 src/share/mk/bsd.own.mk

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



CVS commit: src/sys/lib/libkern/arch/powerpc

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 23:36:02 UTC 2011

Modified Files:
src/sys/lib/libkern/arch/powerpc: gprsavrest.S

Log Message:
fix the names of the _END symbols passed to .size; fixes rump issues,
and kernels still work fine, and ofwboot still links.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/lib/libkern/arch/powerpc/gprsavrest.S

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



CVS commit: src/sys/opencrypto

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 01:01:06 UTC 2011

Modified Files:
src/sys/opencrypto: deflate.c

Log Message:
avoid some uninitialised warning issues GCC 4.5 complains about.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/opencrypto/deflate.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/vax

2011-07-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Jul  3 02:18:21 UTC 2011

Modified Files:
src/sys/arch/vax/include: db_machdep.h pcb.h proc.h trap.h userret.h
src/sys/arch/vax/vax: compat_13_machdep.c compat_16_machdep.c
core_machdep.c db_machdep.c locore.c machdep.c sig_machdep.c
syscall.c trap.c vm_machdep.c

Log Message:
Cleanup trapframe handling.  Instead of keeping a trapframe pointer in the
pcb, put in the mdlwp instead.  We had a dummy field so it didn't grow in
size.  This also follows the practice that mips and powerpc follow that a
pointer to the user trapframe is in l->l_md.md_utf.  Make trapframe members
start with tf_


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/vax/include/db_machdep.h
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/vax/include/pcb.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/vax/include/proc.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/vax/include/trap.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/vax/include/userret.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/vax/vax/compat_13_machdep.c \
src/sys/arch/vax/vax/compat_16_machdep.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/vax/vax/core_machdep.c
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/vax/vax/db_machdep.c
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/vax/vax/locore.c
cvs rdiff -u -r1.181 -r1.182 src/sys/arch/vax/vax/machdep.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/vax/vax/sig_machdep.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/vax/vax/syscall.c
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/vax/vax/trap.c
cvs rdiff -u -r1.115 -r1.116 src/sys/arch/vax/vax/vm_machdep.c

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



CVS commit: src/external/lgpl3/gmp/dist/mpn/powerpc32

2011-07-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Jul  3 03:30:19 UTC 2011

Modified Files:
src/external/lgpl3/gmp/dist/mpn/powerpc32: elf.m4

Log Message:
Switch to using the secure-plt method of accessing the global offset table.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/lgpl3/gmp/dist/mpn/powerpc32/elf.m4

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/comp

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:37:42 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: ad.powerpc

Log Message:
add gcc-4.5/altivec.h


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/distrib/sets/lists/comp/ad.powerpc

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:39:23 UTC 2011

Modified Files:
src/external/gpl3/gcc/dist/gcc: config.gcc

Log Message:
- for m680[012]0, set cpu_type=m68k
- add fragment for m68010--netbsdelf
- s/*-*-netbsd/*-*-netbsd*/ so that netbsdelf matches


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/config.gcc

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



CVS commit: src/external/gpl3/gcc/dist/gcc/config/arm

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:40:38 UTC 2011

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/arm: t-netbsd

Log Message:
copy across (most) of the LIB1ASMFUNCS from t-arm-elf.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc/dist/gcc/config/arm/t-netbsd

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



CVS commit: src/external/lgpl3/gmp/lib/libgmp/arch

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:43:17 UTC 2011

Modified Files:
src/external/lgpl3/gmp/lib/libgmp/arch/arm: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/armeb: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/i386: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/m68k: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/powerpc: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/sparc: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/sparc64: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/vax: Makefile.inc
src/external/lgpl3/gmp/lib/libgmp/arch/x86_64: Makefile.inc

Log Message:
clean up the created .s files.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/lgpl3/gmp/lib/libgmp/arch/arm/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 \
src/external/lgpl3/gmp/lib/libgmp/arch/armeb/Makefile.inc
cvs rdiff -u -r1.2 -r1.3 \
src/external/lgpl3/gmp/lib/libgmp/arch/i386/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 \
src/external/lgpl3/gmp/lib/libgmp/arch/m68k/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 \
src/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 \
src/external/lgpl3/gmp/lib/libgmp/arch/sparc/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 \
src/external/lgpl3/gmp/lib/libgmp/arch/sparc64/Makefile.inc
cvs rdiff -u -r1.2 -r1.3 \
src/external/lgpl3/gmp/lib/libgmp/arch/vax/Makefile.inc
cvs rdiff -u -r1.2 -r1.3 \
src/external/lgpl3/gmp/lib/libgmp/arch/x86_64/Makefile.inc

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



CVS commit: src/games/trek

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:44:02 UTC 2011

Modified Files:
src/games/trek: move.c

Log Message:
use DBL_MIN from  instead of a hard coded small value (that
becomes zero for vax fp.)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/games/trek/move.c

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



CVS commit: src/lib/libm/complex

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:45:24 UTC 2011

Modified Files:
src/lib/libm/complex: catan.c catanf.c ctan.c ctanf.c

Log Message:
use DBL_MAX and FLT_MAX from  instead of hard coding some ieeefp 
values.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/complex/catan.c \
src/lib/libm/complex/catanf.c src/lib/libm/complex/ctan.c \
src/lib/libm/complex/ctanf.c

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:42:03 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gengtype also needs sysroot-suffix.h if present


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/sys/arch/sh3/include

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:45:51 UTC 2011

Modified Files:
src/sys/arch/sh3/include: stdarg.h

Log Message:
add GCC 4.5 support.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sh3/include/stdarg.h

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



CVS commit: src/tests/libexec/ld.elf_so

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:46:49 UTC 2011

Modified Files:
src/tests/libexec/ld.elf_so: Makefile

Log Message:
only build the ld.elf_so tests if MKPIC != no.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/libexec/ld.elf_so/Makefile

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



CVS commit: src/tools/gcc

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:47:13 UTC 2011

Modified Files:
src/tools/gcc: mknative-gcc

Log Message:
copy sysroot-suffix.h as well, for sh3.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/tools/gcc/mknative-gcc

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



CVS commit: src/external

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:52:27 UTC 2011

Added Files:
src/external/gpl3/gcc/lib/crtstuff/arch: armeb.mk m68000.mk sh3eb.mk
sh3el.mk
src/external/gpl3/gcc/lib/libgcc/arch: armeb.mk m68000.mk sh3eb.mk
sh3el.mk
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/armeb: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3eb: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3el: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libiberty/arch/armeb: config.h
src/external/gpl3/gcc/lib/libiberty/arch/m68000: config.h
src/external/gpl3/gcc/lib/libiberty/arch/sh3eb: config.h
src/external/gpl3/gcc/lib/libiberty/arch/sh3el: config.h
src/external/gpl3/gcc/lib/libobjc/arch/armeb: config.h defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/m68000: config.h defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/sh3eb: config.h defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/sh3el: config.h defs.mk
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb: c++allocator.h
c++config.h config.h cxxabi_tweaks.h defs.mk gstdint.h
gthr-default.h gthr-posix.h gthr-single.h gthr-tpf.h gthr.h omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000: c++allocator.h
c++config.h config.h cxxabi_tweaks.h defs.mk gstdint.h
gthr-default.h gthr-posix.h gthr-single.h gthr-tpf.h gthr.h omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sh3eb: c++allocator.h
c++config.h config.h cxxabi_tweaks.h defs.mk gstdint.h
gthr-default.h gthr-posix.h gthr-single.h gthr-tpf.h gthr.h omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sh3el: c++allocator.h
c++config.h config.h cxxabi_tweaks.h defs.mk gstdint.h
gthr-default.h gthr-posix.h gthr-single.h gthr-tpf.h gthr.h omp.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb: all-tree.def auto-host.h
bconfig.h bversion.h config.h configargs.h defs.mk gthr-default.h
gtyp-input.list multilib.h plugin-version.h tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/m68000: all-tree.def auto-host.h
bconfig.h bversion.h config.h configargs.h defs.mk gthr-default.h
gtyp-input.list multilib.h plugin-version.h tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb: all-tree.def auto-host.h
bconfig.h bversion.h config.h configargs.h defs.mk gthr-default.h
gtyp-input.list multilib.h plugin-version.h tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3el: all-tree.def auto-host.h
bconfig.h bversion.h config.h configargs.h defs.mk gthr-default.h
gtyp-input.list multilib.h plugin-version.h sysroot-suffix.h tm.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/armeb: config.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/m68000: config.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/sh3eb: config.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/sh3el: config.h
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/armeb: config.h
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/m68000: config.h
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/sh3eb: config.h
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/sh3el: config.h
src/external/lgpl3/gmp/lib/libgmp/arch/m68000: Makefile.inc config.h
config.m4 gmp-mparam.h gmp.h mp.h
src/external/lgpl3/gmp/lib/libgmp/arch/sh3eb: Makefile.inc config.h
config.m4 gmp-mparam.h gmp.h mp.h
src/external/lgpl3/gmp/lib/libgmp/arch/sh3el: Makefile.inc config.h
config.m4 gmp-mparam.h gmp.h mp.h

Log Message:
(re-)generate mknative-gcc files for many platforms.
(re-)generate the gmp files for many platforms.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/crtstuff/arch/armeb.mk \
src/external/gpl3/gcc/lib/crtstuff/arch/m68000.mk \
src/external/gpl3/gcc/lib/crtstuff/arch/sh3eb.mk \
src/external/gpl3/gcc/lib/crtstuff/arch/sh3el.mk
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgcc/arch/armeb.mk \
src/external/gpl3/gcc/lib/libgcc/arch/m68000.mk \
src/external/gpl3/gcc/lib/libgcc/arch/sh3eb.mk \
src/external/gpl3/gcc/lib/libgcc/arch/sh3el.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/armeb/defs.mk \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/armeb/gcov-iov.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/defs.mk \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/gcov-iov.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3eb/defs.mk \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3eb/gcov-iov.h
cvs rdiff -u -r0 -r1.1 \
src/external/g