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

2013-01-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jan 17 14:20:06 UTC 2013

Modified Files:
src/sys/arch/luna68k/include: loadfile_machdep.h

Log Message:
Make loadfile() accept OMAGIC a.out binary.
LUNA's ROM monitor assumes it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/luna68k/include/loadfile_machdep.h

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



CVS commit: src/sys/kern

2013-01-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 17 14:36:36 UTC 2013

Modified Files:
src/sys/kern: kern_ksyms.c

Log Message:
Add a separate bool to indicate a symbol table has been loaded.
ksym_initted indicates whether the kmutex has been initted or not.
Add __cacheline_aligned to the kmutex.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/kern/kern_ksyms.c

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



CVS commit: src/share/mk

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 15:27:50 UTC 2013

Modified Files:
src/share/mk: sys.mk

Log Message:
Remove bogus conditionals that were also copied to other files presumably
because they did not work from here, and explain why.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/share/mk/sys.mk

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



CVS commit: src/share/mk

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 15:42:59 UTC 2013

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

Log Message:
Now that we have separate debug sets, add -g if ${MKDEBUG} is set for
program builds since we don't need to install that symbol files.


To generate a diff of this commit:
cvs rdiff -u -r1.278 -r1.279 src/share/mk/bsd.prog.mk

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

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 16:15:42 UTC 2013

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/xdebug: mi

Log Message:
add the set files themselves


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/xdebug/mi

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



CVS commit: src/lib/librumpclient

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 16:29:44 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
If the host doesn't support RTLD_NEXT, don't play the dynamic linking game.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/lib/librumpclient/rumpclient.c

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



CVS commit: src/sbin/fsck_msdos

2013-01-17 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Jan 17 16:45:48 UTC 2013

Modified Files:
src/sbin/fsck_msdos: fat.c

Log Message:
An uninitialized next-free-cluster value in the file system information
block is valid; do not consider it for correction.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sbin/fsck_msdos/fat.c

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



CVS commit: src/share/mk

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 17:33:16 UTC 2013

Modified Files:
src/share/mk: sys.mk

Log Message:
Disable CTF Conversion for now until it is fixed.
- ERROR: ctrl_iface_ap.c: die 2767: failed to get unsigned: No entry found
  [dwarf _attrval_unsigned(219)]


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/share/mk/sys.mk

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



CVS commit: src/sbin/disklabel

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 18:33:58 UTC 2013

Modified Files:
src/sbin/disklabel: extern.h interact.c main.c

Log Message:
move dk_ioctl to a header file for the benefit of x-building.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sbin/disklabel/extern.h
cvs rdiff -u -r1.36 -r1.37 src/sbin/disklabel/interact.c
cvs rdiff -u -r1.27 -r1.28 src/sbin/disklabel/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.sbin/syslogd

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 18:54:29 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
ut_line does not have /dev in front of it. Add it, from dholland@


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/usr.sbin/syslogd/syslogd.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

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 19:10:57 UTC 2013

Modified Files:
src/external/gpl3/gcc/dist/gcc: dwarf2out.c

Log Message:
Apply GCC/35998 from FreeBSD http://svnweb.freebsd.org/changeset/base/245024

gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0x).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Thanks to Christoph Mallon for pointing out a correct fix.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gcc/dist/gcc/dwarf2out.c

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



CVS commit: src/gnu/dist/gcc4/gcc

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 20:01:37 UTC 2013

Modified Files:
src/gnu/dist/gcc4/gcc: dwarf2out.c

Log Message:
Apply GCC/35998 from FreeBSD http://svnweb.freebsd.org/changeset/base/245024

gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0x).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Thanks to Christoph Mallon for pointing out a correct fix.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 src/gnu/dist/gcc4/gcc/dwarf2out.c

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



CVS commit: src/lib/librumpclient

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 20:47:44 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.c rumpclient.h

Log Message:
Solaris 10 fixes


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/lib/librumpclient/rumpclient.c
cvs rdiff -u -r1.12 -r1.13 src/lib/librumpclient/rumpclient.h

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



CVS commit: src/sys/rump/include/rump

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 21:12:39 UTC 2013

Modified Files:
src/sys/rump/include/rump: rump_syscalls_compat.h

Log Message:
For non-NetBSD, assume leading underscore with !__ELF__ (fixes PE-COFF)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/include/rump/rump_syscalls_compat.h

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



CVS commit: src/sys/kern

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 21:30:30 UTC 2013

Modified Files:
src/sys/kern: makesyscalls.sh

Log Message:
Include rumpuser_port.h in rump_syscalls.c when compiled for librumpclient


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/kern/makesyscalls.sh

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



CVS commit: src/sys/rump/librump/rumpkern

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 21:31:12 UTC 2013

Modified Files:
src/sys/rump/librump/rumpkern: rump_syscalls.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/rump/librump/rumpkern/rump_syscalls.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

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 21:42:19 UTC 2013

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/xdebug: mi

Log Message:
the set files themselves should not be conditional to anything so that
they are always generated.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/xdebug/mi

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



CVS commit: src/lib/librumpuser

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 21:42:23 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
Include sys/sysmacros.h on solaris for MIN/MAX.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/rumpuser_port.h

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



CVS commit: src/sys/rump

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 21:53:14 UTC 2013

Modified Files:
src/sys/rump: VERSION

Log Message:
bump version for recent portability fixes


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/VERSION

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



CVS commit: src/external/bsd/libdwarf/dist

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:03:03 UTC 2013

Update of /cvsroot/src/external/bsd/libdwarf/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv22777

Log Message:
sync with FreeBSD

Status:

Vendor Tag: FreeBSD
Release Tags:   FreeBSD-2012-01-17

U src/external/bsd/libdwarf/dist/Makefile
C src/external/bsd/libdwarf/dist/_libdwarf.h
U src/external/bsd/libdwarf/dist/dwarf.h
C src/external/bsd/libdwarf/dist/dwarf_abbrev.c
C src/external/bsd/libdwarf/dist/dwarf_attr.c
C src/external/bsd/libdwarf/dist/dwarf_attrval.c
C src/external/bsd/libdwarf/dist/dwarf_cu.c
C src/external/bsd/libdwarf/dist/dwarf_dealloc.c
C src/external/bsd/libdwarf/dist/dwarf_die.c
C src/external/bsd/libdwarf/dist/dwarf_dump.c
C src/external/bsd/libdwarf/dist/dwarf_errmsg.c
C src/external/bsd/libdwarf/dist/dwarf_errno.c
C src/external/bsd/libdwarf/dist/dwarf_finish.c
C src/external/bsd/libdwarf/dist/dwarf_form.c
N src/external/bsd/libdwarf/dist/dwarf_func.c
C src/external/bsd/libdwarf/dist/dwarf_init.c
C src/external/bsd/libdwarf/dist/dwarf_loc.c
U src/external/bsd/libdwarf/dist/libdwarf.h

14 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jFreeBSD:yesterday -jFreeBSD 
src/external/bsd/libdwarf/dist



CVS commit: src/external/bsd/libdwarf

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:06:58 UTC 2013

Modified Files:
src/external/bsd/libdwarf/dist: _libdwarf.h dwarf_abbrev.c dwarf_attr.c
dwarf_attrval.c dwarf_cu.c dwarf_dealloc.c dwarf_die.c dwarf_dump.c
dwarf_errmsg.c dwarf_errno.c dwarf_finish.c dwarf_form.c
dwarf_init.c dwarf_loc.c
src/external/bsd/libdwarf/lib: shlib_version

Log Message:
resolve conflicts, bump


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libdwarf/dist/_libdwarf.h \
src/external/bsd/libdwarf/dist/dwarf_abbrev.c \
src/external/bsd/libdwarf/dist/dwarf_attr.c \
src/external/bsd/libdwarf/dist/dwarf_attrval.c \
src/external/bsd/libdwarf/dist/dwarf_cu.c \
src/external/bsd/libdwarf/dist/dwarf_dealloc.c \
src/external/bsd/libdwarf/dist/dwarf_die.c \
src/external/bsd/libdwarf/dist/dwarf_dump.c \
src/external/bsd/libdwarf/dist/dwarf_errmsg.c \
src/external/bsd/libdwarf/dist/dwarf_errno.c \
src/external/bsd/libdwarf/dist/dwarf_finish.c \
src/external/bsd/libdwarf/dist/dwarf_form.c \
src/external/bsd/libdwarf/dist/dwarf_loc.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libdwarf/dist/dwarf_init.c
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libdwarf/lib/shlib_version

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

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:12:53 UTC 2013

Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi

Log Message:
bump libdwarf


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/distrib/sets/lists/base/ad.mips64eb \
src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.186 -r1.187 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.175 -r1.176 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.646 -r1.647 src/distrib/sets/lists/base/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/librumpclient

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 22:16:59 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
fix the extern "C" stuff


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpclient/rumpclient.h

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



CVS commit: src/doc

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:17:58 UTC 2013

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
document libdwarf.


To generate a diff of this commit:
cvs rdiff -u -r1.996 -r1.997 src/doc/3RDPARTY
cvs rdiff -u -r1.1782 -r1.1783 src/doc/CHANGES

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



CVS commit: src/doc

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:19:52 UTC 2013

Modified Files:
src/doc: 3RDPARTY

Log Message:
fix cut-n-paste


To generate a diff of this commit:
cvs rdiff -u -r1.997 -r1.998 src/doc/3RDPARTY

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



CVS commit: src/external/bsd/libdwarf/dist

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:23:42 UTC 2013

Modified Files:
src/external/bsd/libdwarf/dist: dwarf_func.c

Log Message:
toolify


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/libdwarf/dist/dwarf_func.c

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



CVS commit: src/external/bsd/libdwarf/dist

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:24:55 UTC 2013

Modified Files:
src/external/bsd/libdwarf/dist: dwarf_func.c

Log Message:
remove RCSID, other files don't have it.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libdwarf/dist/dwarf_func.c

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



CVS commit: src/tools/libdwarf

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 22:25:36 UTC 2013

Modified Files:
src/tools/libdwarf: Makefile

Log Message:
add new file


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tools/libdwarf/Makefile

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

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 23:04:30 UTC 2013

Modified Files:
src/distrib/sets/lists/debug: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi

Log Message:
finish bump of libdwarf


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/debug/ad.mips64eb \
src/distrib/sets/lists/debug/ad.mips64el
cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/debug/md.amd64 \
src/distrib/sets/lists/debug/md.sparc64 \
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/sys/rump/include/rump

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 23:21:20 UTC 2013

Modified Files:
src/sys/rump/include/rump: rump_syscalls_compat.h

Log Message:
Helps ELF platforms if I spell __ELF__ correctly ...


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/rump/include/rump/rump_syscalls_compat.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/usb

2013-01-17 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Jan 18 01:41:08 UTC 2013

Modified Files:
src/sys/dev/usb: if_urtwn.c if_urtwnvar.h

Log Message:
make this work with lockdebug. while here, set urtwn_debug=0 now that
USB_DEBUG implies URTWN_DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/if_urtwnvar.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/arm/arm

2013-01-17 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jan 18 02:46:31 UTC 2013

Modified Files:
src/sys/arch/arm/arm: disksubr_mbr.c

Log Message:
PR#47463:
 - Check each mbrp_type field in fdisk partition table in MBR to know whether
   a sector is really MBR or not. Same as MI subr_disk_mbr.c
 - Check whether each number in a partition table is out of bound or not.
   Same as MI subr_disk_mbr.c
 - Update d_packname and d_npartitions if we found any partitions.
 - Currently, the exended partitions is not supported...


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/arm/disksubr_mbr.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/powerpc/pci

2013-01-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jan 18 06:21:13 UTC 2013

Modified Files:
src/sys/arch/powerpc/pci: pci_machdep_common.c

Log Message:
Use structure initializers.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/pci/pci_machdep_common.c

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



CVS commit: src/sys

2013-01-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jan 18 06:42:16 UTC 2013

Added Files:
src/sys/kern: subr_physmap.c
src/sys/sys: physmap.h

Log Message:
Contain support routines used to create and destroy lists of physical pages
from lists of pages or ranges of virtual address.  By using these physical
maps, the kernel can avoid mapping physical I/O in the kernel's address space
in most cases.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/kern/subr_physmap.c
cvs rdiff -u -r0 -r1.1 src/sys/sys/physmap.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/arm/arm

2013-01-17 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Jan 18 07:34:40 UTC 2013

Modified Files:
src/sys/arch/arm/arm: db_trace.c

Log Message:
Print the frame pointer for each level and don't print the registers
within the frame by default. Provide a '/f' flag to get the full trace.

Discussed with matt@


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/arm/arm/db_trace.c

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