CVS commit: src/common/lib/libc/gmon

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 28 02:56:40 UTC 2016

Modified Files:
src/common/lib/libc/gmon: mcount.c

Log Message:
fix infinite recursion through thr_getspecific


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/common/lib/libc/gmon/mcount.c

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

Modified files:

Index: src/common/lib/libc/gmon/mcount.c
diff -u src/common/lib/libc/gmon/mcount.c:1.12 src/common/lib/libc/gmon/mcount.c:1.13
--- src/common/lib/libc/gmon/mcount.c:1.12	Sun Jan 10 20:57:12 2016
+++ src/common/lib/libc/gmon/mcount.c	Sat Feb 27 21:56:39 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: mcount.c,v 1.12 2016/01/11 01:57:12 christos Exp $	*/
+/*	$NetBSD: mcount.c,v 1.13 2016/02/28 02:56:39 christos Exp $	*/
 
 /*
  * Copyright (c) 2003, 2004 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
 #if 0
 static char sccsid[] = "@(#)mcount.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: mcount.c,v 1.12 2016/01/11 01:57:12 christos Exp $");
+__RCSID("$NetBSD: mcount.c,v 1.13 2016/02/28 02:56:39 christos Exp $");
 #endif
 #endif
 
@@ -145,12 +145,17 @@ _MCOUNT_DECL(u_long frompc, u_long selfp
 
 #if defined(_REENTRANT) && !defined(_KERNEL)
 	if (__isthreaded) {
+		/* prevent re-entry via thr_getspecific */
+		if (_gmonparam.state != GMON_PROF_ON)
+			return;
+		_gmonparam.state = GMON_PROF_BUSY;
 		p = thr_getspecific(_gmonkey);
 		if (p == NULL) {
 			/* Prevent recursive calls while allocating */
 			thr_setspecific(_gmonkey, &_gmondummy);
 			p = _m_gmon_alloc();
 		}
+		_gmonparam.state = GMON_PROF_ON;
 	} else
 #endif
 		p = &_gmonparam;



CVS commit: src/share/mk

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 23:51:34 UTC 2016

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

Log Message:
Revert and leave broken.


To generate a diff of this commit:
cvs rdiff -u -r1.365 -r1.366 src/share/mk/bsd.lib.mk

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

Modified files:

Index: src/share/mk/bsd.lib.mk
diff -u src/share/mk/bsd.lib.mk:1.365 src/share/mk/bsd.lib.mk:1.366
--- src/share/mk/bsd.lib.mk:1.365	Sat Feb 27 15:36:17 2016
+++ src/share/mk/bsd.lib.mk	Sat Feb 27 18:51:34 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.lib.mk,v 1.365 2016/02/27 20:36:17 christos Exp $
+#	$NetBSD: bsd.lib.mk,v 1.366 2016/02/27 23:51:34 christos Exp $
 #	@(#)bsd.lib.mk	8.3 (Berkeley) 4/22/94
 
 .include 
@@ -42,11 +42,11 @@ realinstall:	checkver libinstall
 # XXX: This is needed for programs that link with .a libraries
 # Perhaps a more correct solution is to always generate _pic.a
 # files or always have a shared library.
-# Disabled since it breaks profiling.
-#.if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)
-#CFLAGS+=${PIE_CFLAGS}
-#AFLAGS+=${PIE_AFLAGS}
-#.endif
+# XXX: This breaks profiling (__mcount relocation is wrong)
+.if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)
+CFLAGS+=${PIE_CFLAGS}
+AFLAGS+=${PIE_AFLAGS}
+.endif
 
 # Libraries that this may depend upon.
 .if defined(LIBDPLIBS) && ${MKPIC} != "no"# {



CVS commit: src/bin/sh

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 23:50:13 UTC 2016

Modified Files:
src/bin/sh: show.c

Log Message:
More nodenames fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/bin/sh/show.c

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

Modified files:

Index: src/bin/sh/show.c
diff -u src/bin/sh/show.c:1.29 src/bin/sh/show.c:1.30
--- src/bin/sh/show.c:1.29	Sat Feb 27 13:34:12 2016
+++ src/bin/sh/show.c	Sat Feb 27 18:50:13 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: show.c,v 1.29 2016/02/27 18:34:12 christos Exp $	*/
+/*	$NetBSD: show.c,v 1.30 2016/02/27 23:50:13 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)show.c	8.3 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: show.c,v 1.29 2016/02/27 18:34:12 christos Exp $");
+__RCSID("$NetBSD: show.c,v 1.30 2016/02/27 23:50:13 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -52,6 +52,10 @@ __RCSID("$NetBSD: show.c,v 1.29 2016/02/
 #include "mystring.h"
 #include "show.h"
 #include "options.h"
+#ifndef SMALL
+#define DEFINE_NODENAMES
+#include "nodenames.h"
+#endif
 
 
 FILE *tracefile;



CVS commit: [LLVM] src/external/bsd/llvm/dist/llvm

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 23:00:17 UTC 2016

Removed Files:
src/external/bsd/llvm/dist/llvm/autoconf/m4 [LLVM]: func_isinf.m4
func_isnan.m4 rand48.m4
src/external/bsd/llvm/dist/llvm/cmake/modules [LLVM]:
LLVMParseArguments.cmake
src/external/bsd/llvm/dist/llvm/docs [LLVM]: R600Usage.rst doxygen.css
doxygen.footer doxygen.header
src/external/bsd/llvm/dist/llvm/include/llvm [LLVM]: PassManager.h
src/external/bsd/llvm/dist/llvm/include/llvm/Analysis [LLVM]:
ConstantsScanner.h FunctionTargetTransformInfo.h
JumpInstrTableInfo.h LibCallAliasAnalysis.h LibCallSemantics.h
src/external/bsd/llvm/dist/llvm/include/llvm/CodeGen [LLVM]:
ForwardControlFlowIntegrity.h JumpInstrTables.h
StackMapLivenessAnalysis.h
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo [LLVM]:
DWARFAbbreviationDeclaration.h DWARFAcceleratorTable.h
DWARFCompileUnit.h DWARFContext.h DWARFDebugAbbrev.h
DWARFDebugArangeSet.h DWARFDebugAranges.h DWARFDebugFrame.h
DWARFDebugInfoEntry.h DWARFDebugLine.h DWARFDebugLoc.h
DWARFDebugRangeList.h DWARFFormValue.h DWARFRelocMap.h
DWARFSection.h DWARFTypeUnit.h DWARFUnit.h
src/external/bsd/llvm/dist/llvm/include/llvm/IR [LLVM]:
IntrinsicsR600.td MetadataTracking.h
src/external/bsd/llvm/dist/llvm/include/llvm/MC [LLVM]: MCELF.h
MCELFSymbolFlags.h MCMachOSymbolFlags.h
src/external/bsd/llvm/dist/llvm/include/llvm/Support [LLVM]:
OutputBuffer.h
src/external/bsd/llvm/dist/llvm/include/llvm/Target [LLVM]:
TargetLibraryInfo.h
src/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils [LLVM]:
VectorUtils.h
src/external/bsd/llvm/dist/llvm/lib/Analysis [LLVM]:
AliasAnalysisCounter.cpp AliasDebugger.cpp
FunctionTargetTransformInfo.cpp JumpInstrTableInfo.cpp
LibCallAliasAnalysis.cpp LibCallSemantics.cpp NoAliasAnalysis.cpp
src/external/bsd/llvm/dist/llvm/lib/Analysis/IPA [LLVM]: CMakeLists.txt
CallGraph.cpp CallGraphSCCPass.cpp CallPrinter.cpp
GlobalsModRef.cpp IPA.cpp InlineCost.cpp LLVMBuild.txt Makefile
src/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader [LLVM]:
BitcodeReader.h
src/external/bsd/llvm/dist/llvm/lib/CodeGen [LLVM]:
ForwardControlFlowIntegrity.cpp JumpInstrTables.cpp
PrologEpilogInserter.h
src/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter [LLVM]:
DebugLocList.h Win64Exception.cpp Win64Exception.h
src/external/bsd/llvm/dist/llvm/lib/DebugInfo [LLVM]: DIContext.cpp
DWARFAbbreviationDeclaration.cpp DWARFAcceleratorTable.cpp
DWARFCompileUnit.cpp DWARFContext.cpp DWARFDebugAbbrev.cpp
DWARFDebugArangeSet.cpp DWARFDebugAranges.cpp DWARFDebugFrame.cpp
DWARFDebugInfoEntry.cpp DWARFDebugLine.cpp DWARFDebugLoc.cpp
DWARFDebugRangeList.cpp DWARFFormValue.cpp DWARFTypeUnit.cpp
DWARFUnit.cpp SyntaxHighlighting.cpp SyntaxHighlighting.h
module.modulemap
src/external/bsd/llvm/dist/llvm/lib/ExecutionEngine [LLVM]:
EventListenerCommon.h
src/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT [LLVM]:
SectionMemoryManager.cpp
src/external/bsd/llvm/dist/llvm/lib/IR [LLVM]: AsmWriter.h
LeaksContext.h MetadataTracking.cpp UseListOrder.cpp
src/external/bsd/llvm/dist/llvm/lib/MC [LLVM]: MCELF.cpp
src/external/bsd/llvm/dist/llvm/lib/ProfileData [LLVM]:
InstrProfIndexed.h
src/external/bsd/llvm/dist/llvm/lib/Support [LLVM]: IsInf.cpp IsNAN.cpp
src/external/bsd/llvm/dist/llvm/lib/Target [LLVM]:
TargetLibraryInfo.cpp
src/external/bsd/llvm/dist/llvm/lib/Target/AArch64 [LLVM]:
AArch64MachineCombinerPattern.h
src/external/bsd/llvm/dist/llvm/lib/Target/ARM [LLVM]: ARMFPUName.def
ARMFPUName.h Thumb1RegisterInfo.cpp Thumb1RegisterInfo.h
Thumb2RegisterInfo.cpp Thumb2RegisterInfo.h
src/external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc [LLVM]:
ARMArchName.def ARMArchName.h
src/external/bsd/llvm/dist/llvm/lib/Target/Hexagon [LLVM]:
HexagonCallingConvLower.cpp HexagonCallingConvLower.h
HexagonRemoveSZExtArgs.cpp HexagonSplitTFRCondSets.cpp
HexagonVarargsCallingConvention.h
src/external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc [LLVM]:
HexagonMCInst.cpp HexagonMCInst.h
src/external/bsd/llvm/dist/llvm/lib/Target/MSP430 [LLVM]:
MSP430SelectionDAGInfo.cpp MSP430SelectionDAGInfo.h
src/external/bsd/llvm/dist/llvm/lib/Target/Mips [LLVM]:
Mips16HardFloat.h 

CVS commit: [LLVM] src/external/bsd/llvm/dist/clang

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 22:23:00 UTC 2016

Removed Files:
src/external/bsd/llvm/dist/clang/docs [LLVM]: doxygen.css
doxygen.footer doxygen.header
src/external/bsd/llvm/dist/clang/docs/tools [LLVM]: Makefile clang.pod
manpage.css
src/external/bsd/llvm/dist/clang/include/clang/AST [LLVM]:
DataRecursiveASTVisitor.h
src/external/bsd/llvm/dist/clang/include/clang/Basic [LLVM]:
BuiltinsR600.def
src/external/bsd/llvm/dist/clang/test/CXX/class/class.union [LLVM]:
p8.cpp
src/external/bsd/llvm/dist/clang/test/CodeGen [LLVM]:
2005-12-04-DeclarationLineNumbers.c arm-pnaclcall.c arm64_vget.c
arm64_vset_lane.c debug-info-var-location.c pragma-loop.cpp
pragma-unroll.cpp
src/external/bsd/llvm/dist/clang/test/CodeGenCXX [LLVM]:
apple-kext-indirect-call-2.C apple-kext-indirect-call.C
apple-kext-linkage.C apple-kext-no-staticinit-section.C
debug-info-same-line.cpp default-destructor-synthesis.cpp
member-initializers.cpp microsoft-abi-exceptions.cpp sel-address.mm
src/external/bsd/llvm/dist/clang/test/Driver [LLVM]:
hexagon-toolchain.c mno-global-merge.c ms-inline-asm.c

src/external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/gnu/bin [LLVM]:
hexagon-as hexagon-gcc hexagon-ld

src/external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/gnu/hexagon/include
 [LLVM]:
stdio.h

src/external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/gnu/hexagon/include/c++/4.4.0
 [LLVM]:
ios

src/external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/gnu/lib/gcc/hexagon/4.4.0/include
 [LLVM]:
stddef.h

src/external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/gnu/lib/gcc/hexagon/4.4.0/include-fixed
 [LLVM]:
limits.h
src/external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/qc/bin 
[LLVM]:
placeholder
src/external/bsd/llvm/dist/clang/test/Modules [LLVM]:
dependency-gen.modulemap.cpp
src/external/bsd/llvm/dist/clang/test/Modules/Inputs [LLVM]:
initializer_list
src/external/bsd/llvm/dist/clang/test/Modules/macro-reexport [LLVM]:
a1.h a2.h b1.h b2.h c1.h d1.h d2.h e1.h e2.h f1.h
macro-reexport.cpp module.modulemap
src/external/bsd/llvm/dist/clang/test/Modules/redecls [LLVM]: a.h b.h
main.m module.map
src/external/bsd/llvm/dist/clang/test/Modules/self-import-header [LLVM]:
test.m

src/external/bsd/llvm/dist/clang/test/Modules/self-import-header/af.framework 
[LLVM]:
module.map

src/external/bsd/llvm/dist/clang/test/Modules/self-import-header/af.framework/Headers
 [LLVM]:
a1.h a2.h

src/external/bsd/llvm/dist/clang/test/Modules/self-import-header/depend_builtin 
[LLVM]:
h1.h module.map
src/external/bsd/llvm/dist/clang/test/PCH [LLVM]: preprocess.c
preprocess.h
src/external/bsd/llvm/dist/clang/test/Profile [LLVM]: c-attributes.c
src/external/bsd/llvm/dist/clang/test/SemaCXX [LLVM]: pr9812.c
src/external/bsd/llvm/dist/clang/test/SemaObjC [LLVM]: nonarc-weak.m
weak-receiver-warn.m
src/external/bsd/llvm/dist/clang/tools/driver [LLVM]:
clang_symlink.cmake
src/external/bsd/llvm/dist/clang/tools/scan-build [LLVM]: c++-analyzer
c++-analyzer.bat ccc-analyzer ccc-analyzer.bat scan-build
scan-build.1 scan-build.bat scanview.css set-xcode-analyzer
sorttable.js
src/external/bsd/llvm/dist/clang/tools/scan-view [LLVM]: Reporter.py
ScanView.py scan-view startfile.py
src/external/bsd/llvm/dist/clang/tools/scan-view/Resources [LLVM]:
FileRadar.scpt GetRadarVersion.scpt bugcatcher.ico

Log Message:
Mark files without clang-261930 as dead.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/llvm/dist/clang/docs/doxygen.css \
src/external/bsd/llvm/dist/clang/docs/doxygen.footer \
src/external/bsd/llvm/dist/clang/docs/doxygen.header
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/clang/docs/tools/Makefile \
src/external/bsd/llvm/dist/clang/docs/tools/manpage.css
cvs rdiff -u -r1.1.1.5 -r0 \
src/external/bsd/llvm/dist/clang/docs/tools/clang.pod
cvs rdiff -u -r1.1.1.6 -r0 \
src/external/bsd/llvm/dist/clang/include/clang/AST/DataRecursiveASTVisitor.h
cvs rdiff -u -r1.1.1.2 -r0 \
src/external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsR600.def
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/clang/test/CXX/class/class.union/p8.cpp
cvs rdiff -u -r1.1.1.1 -r0 \

src/external/bsd/llvm/dist/clang/test/CodeGen/2005-12-04-DeclarationLineNumbers.c
 \

CVS commit: src/sys/external/bsd/compiler_rt/dist/lib

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 22:19:35 UTC 2016

Modified Files:
src/sys/external/bsd/compiler_rt/dist/lib/builtins: int_math.h
src/sys/external/bsd/compiler_rt/dist/lib/profile: InstrProfilingPort.h

Log Message:
Add lint bits.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_math.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingPort.h

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

Modified files:

Index: src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_math.h
diff -u src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_math.h:1.1.1.2 src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_math.h:1.2
--- src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_math.h:1.1.1.2	Sat Feb 27 13:59:30 2016
+++ src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_math.h	Sat Feb 27 17:19:35 2016
@@ -54,6 +54,8 @@
   __typeof((x)) x_ = (x); \
   !crt_isinf(x_) && !crt_isnan(x_); \
 }))
+#elif defined(__lint__)
+#  define crt_isfinite(x) 0
 #else
 #  error "Do not know how to check for infinity"
 #endif /* __has_builtin(__builtin_isfinite) */

Index: src/sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingPort.h
diff -u src/sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingPort.h:1.1.1.1 src/sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingPort.h:1.2
--- src/sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingPort.h:1.1.1.1	Sat Feb 27 13:59:32 2016
+++ src/sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingPort.h	Sat Feb 27 17:19:35 2016
@@ -18,6 +18,10 @@
 #define COMPILER_RT_ALIGNAS(x) __attribute__((aligned(x)))
 #define COMPILER_RT_VISIBILITY __attribute__((visibility("hidden")))
 #define COMPILER_RT_WEAK __attribute__((weak))
+#elif defined(__lint__)
+#define COMPILER_RT_ALIGNAS(x)
+#define COMPILER_RT_VISIBILITY
+#define COMPILER_RT_WEAK
 #endif
 
 #define COMPILER_RT_SECTION(Sect) __attribute__((section(Sect)))



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

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 21:48:34 UTC 2016

Modified Files:
src/sys/arch/powerpc/conf: Makefile.powerpc

Log Message:
clang now supports normal soft float.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/powerpc/conf/Makefile.powerpc

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

Modified files:

Index: src/sys/arch/powerpc/conf/Makefile.powerpc
diff -u src/sys/arch/powerpc/conf/Makefile.powerpc:1.59 src/sys/arch/powerpc/conf/Makefile.powerpc:1.60
--- src/sys/arch/powerpc/conf/Makefile.powerpc:1.59	Mon Aug 24 14:04:25 2015
+++ src/sys/arch/powerpc/conf/Makefile.powerpc	Sat Feb 27 21:48:34 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.powerpc,v 1.59 2015/08/24 14:04:25 uebayasi Exp $
+#	$NetBSD: Makefile.powerpc,v 1.60 2016/02/27 21:48:34 joerg Exp $
 #
 # Makefile for NetBSD
 #
@@ -48,8 +48,8 @@ DEFCOPTS=	-O2
 CFLAGS+=	-fstack-protector
 CFLAGS+=	${${ACTIVE_CC} == "gcc":? -misel :}
 .endif
-CFLAGS+=	${${ACTIVE_CC} == "gcc":? -msdata=none -msoft-float :}
-CFLAGS+=	${${ACTIVE_CC} == "clang":? -mllvm -disable-ppc-float-in-variadic=true :}
+CFLAGS+=	${${ACTIVE_CC} == "gcc":? -msdata=none :}
+CFLAGS+=	-msoft-float
 CFLAGS+=	${CCPUOPTS}
 AFLAGS+=	${AOPTS} -D_NOREGNAMES
 



CVS commit: src

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 21:47:36 UTC 2016

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/comp: ad.arm ad.powerpc md.amd64 md.i386 mi
src/etc/mtree: NetBSD.dist.base
src/external/bsd/llvm: Makefile.inc
src/external/bsd/llvm/bin: Makefile
src/external/bsd/llvm/bin/bugpoint: Makefile
src/external/bsd/llvm/bin/clang: Makefile
src/external/bsd/llvm/bin/llc: Makefile
src/external/bsd/llvm/bin/lldb: Makefile
src/external/bsd/llvm/bin/lli: Makefile
src/external/bsd/llvm/bin/llvm-ar: Makefile
src/external/bsd/llvm/bin/llvm-cov: Makefile
src/external/bsd/llvm/bin/llvm-dwarfdump: Makefile
src/external/bsd/llvm/bin/llvm-extract: Makefile
src/external/bsd/llvm/bin/llvm-link: Makefile
src/external/bsd/llvm/bin/llvm-objdump: Makefile
src/external/bsd/llvm/bin/llvm-readobj: Makefile
src/external/bsd/llvm/bin/llvm-symbolizer: Makefile
src/external/bsd/llvm/bin/opt: Makefile
src/external/bsd/llvm/bin/tblgen: Makefile
src/external/bsd/llvm/config/clang/Config: config.h
src/external/bsd/llvm/config/llvm/Config: config.h.in llvm-config.h.in
src/external/bsd/llvm/include: Makefile
src/external/bsd/llvm/lib: Makefile
src/external/bsd/llvm/lib/libLLVMARMCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMAnalysis: Makefile
src/external/bsd/llvm/lib/libLLVMAsmPrinter: Makefile
src/external/bsd/llvm/lib/libLLVMCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMExecutionEngine: Makefile
src/external/bsd/llvm/lib/libLLVMIR: Makefile
src/external/bsd/llvm/lib/libLLVMInstrumentation: Makefile
src/external/bsd/llvm/lib/libLLVMLinker: Makefile
src/external/bsd/llvm/lib/libLLVMMC: Makefile
src/external/bsd/llvm/lib/libLLVMMCJIT: Makefile
src/external/bsd/llvm/lib/libLLVMMipsCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMObjCARC: Makefile
src/external/bsd/llvm/lib/libLLVMObject: Makefile
src/external/bsd/llvm/lib/libLLVMOption: Makefile
src/external/bsd/llvm/lib/libLLVMPowerPCAsmPrinter: Makefile
src/external/bsd/llvm/lib/libLLVMPowerPCCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMRuntimeDyld: Makefile
src/external/bsd/llvm/lib/libLLVMScalarOpts: Makefile
src/external/bsd/llvm/lib/libLLVMSparcCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMSupport: Makefile
src/external/bsd/llvm/lib/libLLVMTarget: Makefile
src/external/bsd/llvm/lib/libLLVMTransformsUtils: Makefile
src/external/bsd/llvm/lib/libLLVMX86AsmPrinter: Makefile
src/external/bsd/llvm/lib/libLLVMX86CodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMipo: Makefile
src/external/bsd/llvm/lib/libclangAST: Makefile
src/external/bsd/llvm/lib/libclangBasic: Makefile
src/external/bsd/llvm/lib/libclangCodeGen: Makefile
src/external/bsd/llvm/lib/libclangDriver: Makefile
src/external/bsd/llvm/lib/libclangFrontend: Makefile
src/external/bsd/llvm/lib/libclangSema: Makefile
src/external/bsd/llvm/lib/libclangSerialization: Makefile
src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers: Makefile
src/external/bsd/llvm/lib/libclangStaticAnalyzerCore: Makefile
src/external/bsd/llvm/lib/libclangToolingCore: Makefile
Added Files:
src/external/bsd/llvm/bin/llvm-cxxdump: Makefile
src/external/bsd/llvm/bin/llvm-dwp: Makefile
src/external/bsd/llvm/bin/sancov: Makefile
src/external/bsd/llvm/lib/libLLVMDebugInfoCodeView: Makefile
src/external/bsd/llvm/lib/libLLVMDebugInfoDWARF: Makefile
src/external/bsd/llvm/lib/libLLVMDebugInfoPDB: Makefile
src/external/bsd/llvm/lib/libLLVMDebugInfoSymbolize: Makefile
src/external/bsd/llvm/lib/libLLVMLibDriver: Makefile
src/external/bsd/llvm/lib/libLLVMMIRParser: Makefile
src/external/bsd/llvm/lib/libLLVMOrc: Makefile
src/external/bsd/llvm/lib/libLLVMPasses: Makefile
Removed Files:
src/external/bsd/llvm/bin/macho-dumpx: Makefile
src/external/bsd/llvm/lib/libLLVMDebugInfo: Makefile
src/external/bsd/llvm/lib/libLLVMipa: Makefile

Log Message:
Update build system for LLVM 3.8.0rc3.


To generate a diff of this commit:
cvs rdiff -u -r1.1120 -r1.1121 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.70 -r1.71 src/distrib/sets/lists/comp/ad.arm
cvs rdiff -u -r1.82 -r1.83 src/distrib/sets/lists/comp/ad.powerpc
cvs rdiff -u -r1.235 -r1.236 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.155 -r1.156 src/distrib/sets/lists/comp/md.i386
cvs rdiff -u -r1.2019 -r1.2020 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.151 -r1.152 src/etc/mtree/NetBSD.dist.base
cvs rdiff -u -r1.79 -r1.80 src/external/bsd/llvm/Makefile.inc
cvs rdiff 

CVS commit: src

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 21:42:14 UTC 2016

Modified Files:
src/doc: TODO.clang
src/external/bsd/libc++/lib: Makefile
src/external/bsd/llvm/lib/libLLVMSupport: Makefile

Log Message:
As workaround for limitations in Clang's atomic lowering on SPARC,
require v8+ for those files that need C++11 atomics.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/doc/TODO.clang
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/libc++/lib/Makefile
cvs rdiff -u -r1.30 -r1.31 src/external/bsd/llvm/lib/libLLVMSupport/Makefile

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

Modified files:

Index: src/doc/TODO.clang
diff -u src/doc/TODO.clang:1.18 src/doc/TODO.clang:1.19
--- src/doc/TODO.clang:1.18	Sat Feb 27 18:50:39 2016
+++ src/doc/TODO.clang	Sat Feb 27 21:42:14 2016
@@ -1,4 +1,4 @@
-$NetBSD: TODO.clang,v 1.18 2016/02/27 18:50:39 joerg Exp $
+$NetBSD: TODO.clang,v 1.19 2016/02/27 21:42:14 joerg Exp $
 
 Hacks for the clang integration
 ---
@@ -14,3 +14,7 @@ macro (ab)use.
 
 src/tests/lib/libc/sync disables tests for atomics shorter than 32bit on
 SPARC64 due to missing codegen support.
+
+src/external/bsd/llvm/lib/libLLVMSupport and src/external/bsd/libc++/lib
+explicitly require -Wa,-Av8plus at the moment, because atomic ops are
+always lowered to CAS.

Index: src/external/bsd/libc++/lib/Makefile
diff -u src/external/bsd/libc++/lib/Makefile:1.8 src/external/bsd/libc++/lib/Makefile:1.9
--- src/external/bsd/libc++/lib/Makefile:1.8	Tue Jan  5 13:07:46 2016
+++ src/external/bsd/libc++/lib/Makefile	Sat Feb 27 21:42:14 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2016/01/05 13:07:46 christos Exp $
+#	$NetBSD: Makefile,v 1.9 2016/02/27 21:42:14 joerg Exp $
 
 LIB=		c++
 WARNS=		4
@@ -46,4 +46,8 @@ CWARNFLAGS.clang+=	-Wno-error=implicit-e
 
 LDFLAGS+=	-Wl,-z,defs
 
+.if ${MACHINE_ARCH} == "sparc" || ${COMMON_MACHINE_ARCH:U} == "sparc"
+CXXFLAGS+=	${${ACTIVE_CC} == "clang":? -Wa,-Av8plus  :}
+.endif
+
 .include 

Index: src/external/bsd/llvm/lib/libLLVMSupport/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.30 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.31
--- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.30	Thu Jan 29 20:41:36 2015
+++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile	Sat Feb 27 21:42:14 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.30 2015/01/29 20:41:36 joerg Exp $
+#	$NetBSD: Makefile,v 1.31 2016/02/27 21:42:14 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -118,6 +118,10 @@ SRCS+=	Host.inc \
 CPPFLAGS.${src}+=	-std=gnu99
 .endfor
 
+.if !defined(HOSTLIB) && ${MACHINE_ARCH} == "sparc"
+COPTS.Atomic.cpp+=	${${ACTIVE_CC} == "clang":? -Wa,-Av8plus :}
+.endif
+
 .if defined(HOSTLIB)
 .include 
 .else



CVS commit: [netbsd-7-0] src/doc

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:38:59 UTC 2016

Modified Files:
src/doc [netbsd-7-0]: CHANGES-7.0.1

Log Message:
Note debug set list fixes


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.36 -r1.1.2.37 src/doc/CHANGES-7.0.1

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

Modified files:

Index: src/doc/CHANGES-7.0.1
diff -u src/doc/CHANGES-7.0.1:1.1.2.36 src/doc/CHANGES-7.0.1:1.1.2.37
--- src/doc/CHANGES-7.0.1:1.1.2.36	Fri Feb 26 21:53:10 2016
+++ src/doc/CHANGES-7.0.1	Sat Feb 27 21:38:59 2016
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-7.0.1,v 1.1.2.36 2016/02/26 21:53:10 snj Exp $
+# $NetBSD: CHANGES-7.0.1,v 1.1.2.37 2016/02/27 21:38:59 martin Exp $
 
 A complete list of changes from the NetBSD 7.0 release to the NetBSD 7.0.1
 release:
@@ -981,3 +981,14 @@ sys/arch/x86/x86/pmap.c1.190
 	to clear the TLB entries on other CPUs.
 	[hannken, ticket #1100]
 
+distrib/sets/lists/xdebug/md.bebox		1.4
+distrib/sets/lists/xdebug/md.dreamcast		1.6
+distrib/sets/lists/xdebug/md.ews4800mips	1.4
+distrib/sets/lists/xdebug/md.hpcarm		1.4
+distrib/sets/lists/xdebug/md.hpcsh		1.3
+distrib/sets/lists/xdebug/md.netwinder		1.4
+distrib/sets/lists/xdebug/md.newsmips		1.4
+distrib/sets/lists/xdebug/md.prep		1.4
+	Fix debug set lists.
+
+



CVS commit: src/sys/sys

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 21:37:35 UTC 2016

Modified Files:
src/sys/sys: endian.h

Log Message:
put unused before the function name for consistency.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/sys/endian.h

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

Modified files:

Index: src/sys/sys/endian.h
diff -u src/sys/sys/endian.h:1.29 src/sys/sys/endian.h:1.30
--- src/sys/sys/endian.h:1.29	Tue Mar 18 10:28:37 2014
+++ src/sys/sys/endian.h	Sat Feb 27 16:37:35 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: endian.h,v 1.29 2014/03/18 14:28:37 riastradh Exp $	*/
+/*	$NetBSD: endian.h,v 1.30 2016/02/27 21:37:35 christos Exp $	*/
 
 /*
  * Copyright (c) 1987, 1991, 1993
@@ -193,7 +193,7 @@ __END_DECLS
 #if __GNUC_PREREQ__(2, 95)
 
 #define __GEN_ENDIAN_ENC(bits, endian) \
-static __inline __unused void \
+static __inline void __unused \
 endian ## bits ## enc(void *dst, uint ## bits ## _t u) \
 { \
 	u = hto ## endian ## bits (u); \
@@ -209,7 +209,7 @@ __GEN_ENDIAN_ENC(64, le)
 #undef __GEN_ENDIAN_ENC
 
 #define __GEN_ENDIAN_DEC(bits, endian) \
-static __inline __unused uint ## bits ## _t \
+static __inline uint ## bits ## _t __unused \
 endian ## bits ## dec(const void *buf) \
 { \
 	uint ## bits ## _t u; \



CVS commit: [netbsd-7] src/doc

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:37:10 UTC 2016

Modified Files:
src/doc [netbsd-7]: CHANGES-7.1

Log Message:
Note debug set list changes


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.58 -r1.1.2.59 src/doc/CHANGES-7.1

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

Modified files:

Index: src/doc/CHANGES-7.1
diff -u src/doc/CHANGES-7.1:1.1.2.58 src/doc/CHANGES-7.1:1.1.2.59
--- src/doc/CHANGES-7.1:1.1.2.58	Fri Feb 26 23:06:33 2016
+++ src/doc/CHANGES-7.1	Sat Feb 27 21:37:10 2016
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-7.1,v 1.1.2.58 2016/02/26 23:06:33 snj Exp $
+# $NetBSD: CHANGES-7.1,v 1.1.2.59 2016/02/27 21:37:10 martin Exp $
 
 A complete list of changes from the NetBSD 7.0 release to the NetBSD 7.1
 release:
@@ -2205,3 +2205,13 @@ sys/arch/evbarm/rpi/rpi_machdep.c		1.68
 	Update RPI firmware and add RPI0 support.
 	[skrll, ticket #1107]
 
+distrib/sets/lists/xdebug/md.bebox		1.4
+distrib/sets/lists/xdebug/md.dreamcast		1.6
+distrib/sets/lists/xdebug/md.ews4800mips	1.4
+distrib/sets/lists/xdebug/md.hpcarm		1.4
+distrib/sets/lists/xdebug/md.hpcsh		1.3
+distrib/sets/lists/xdebug/md.netwinder		1.4
+distrib/sets/lists/xdebug/md.newsmips		1.4
+distrib/sets/lists/xdebug/md.prep		1.4
+	Fix debug set lists.
+



CVS commit: src/usr.bin/xlint/lint1

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 21:37:14 UTC 2016

Modified Files:
src/usr.bin/xlint/lint1: cgram.y scan.l

Log Message:
Add visibility and weak


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.64 -r1.65 src/usr.bin/xlint/lint1/scan.l

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

Modified files:

Index: src/usr.bin/xlint/lint1/cgram.y
diff -u src/usr.bin/xlint/lint1/cgram.y:1.75 src/usr.bin/xlint/lint1/cgram.y:1.76
--- src/usr.bin/xlint/lint1/cgram.y:1.75	Sat Jan  2 12:44:33 2016
+++ src/usr.bin/xlint/lint1/cgram.y	Sat Feb 27 16:37:14 2016
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.75 2016/01/02 17:44:33 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.76 2016/02/27 21:37:14 christos Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -35,7 +35,7 @@
 
 #include 
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.75 2016/01/02 17:44:33 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.76 2016/02/27 21:37:14 christos Exp $");
 #endif
 
 #include 
@@ -206,6 +206,8 @@ anonymize(sym_t *s)
 %token 		T_AT_TUINION
 %token 		T_AT_TUNION
 %token 		T_AT_UNUSED
+%token 		T_AT_WEAK
+%token 		T_AT_VISIBILITY
 %token 		T_AT_FORMAT
 %token 		T_AT_FORMAT_PRINTF
 %token 		T_AT_FORMAT_SCANF
@@ -511,6 +513,8 @@ type_attribute_spec:
 	| T_AT_FORMAT T_LPARN type_attribute_format_type T_COMMA
 	constant T_COMMA constant T_RPARN
 	| T_AT_UNUSED
+	| T_AT_WEAK
+	| T_AT_VISIBILITY T_LPARN constant T_RPARN
 	| T_QUAL {
 		if ($1 != CONST)	
 			yyerror("Bad attribute");

Index: src/usr.bin/xlint/lint1/scan.l
diff -u src/usr.bin/xlint/lint1/scan.l:1.64 src/usr.bin/xlint/lint1/scan.l:1.65
--- src/usr.bin/xlint/lint1/scan.l:1.64	Fri Nov 13 14:13:50 2015
+++ src/usr.bin/xlint/lint1/scan.l	Sat Feb 27 16:37:14 2016
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: scan.l,v 1.64 2015/11/13 19:13:50 christos Exp $ */
+/* $NetBSD: scan.l,v 1.65 2016/02/27 21:37:14 christos Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -35,7 +35,7 @@
 
 #include 
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: scan.l,v 1.64 2015/11/13 19:13:50 christos Exp $");
+__RCSID("$NetBSD: scan.l,v 1.65 2016/02/27 21:37:14 christos Exp $");
 #endif
 
 #include 
@@ -294,6 +294,12 @@ static	struct	kwtab {
 	{ "volatile",	T_QUAL,		0,	0,	VOLATILE, 1, 0, 0, 0 },
 	{ "__volatile__", T_QUAL,	0,	0,	VOLATILE, 0, 0, 0, 0 },
 	{ "__volatile",	T_QUAL,		0,	0,	VOLATILE, 0, 0, 0, 0 },
+	{ "visibility", T_AT_VISIBILITY,0,	0,	0,	  0, 0, 1, 1 },
+	{ "__visibility",T_AT_VISIBILITY,0,	0,	0,	  0, 0, 1, 1 },
+	{ "__visibility__",T_AT_VISIBILITY,0,	0,	0,	  0, 0, 1, 1 },
+	{ "weak",	T_AT_WEAK,	0,	0,	0,	  0, 0, 1, 1 },
+	{ "__weak",	T_AT_WEAK,	0,	0,	0,	  0, 0, 1, 1 },
+	{ "__weak__",	T_AT_WEAK,	0,	0,	0,	  0, 0, 1, 1 },
 	{ "while",	T_WHILE,	0,	0,	0,	  0, 0, 0, 0 },
 	{ NULL,		0,		0,	0,	0,	  0, 0, 0, 0 }
 };



CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:32:07 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.prep

Log Message:
Pull up r1.4 (with minor tweaks) to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.prep

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.prep
diff -u src/distrib/sets/lists/xdebug/md.prep:1.2 src/distrib/sets/lists/xdebug/md.prep:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.prep:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.prep	Sat Feb 27 21:32:07 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.prep,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.prep,v 1.2.6.1 2016/02/27 21:32:07 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -18,6 +18,13 @@
 ./usr/libdata/debug/usr/X11R7/bin/Xorg.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_alpine.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mga_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/s3_drv.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug
@@ -28,6 +35,7 @@
 ./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libint10.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:31:22 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.prep

Log Message:
Pull up r1.4 (with minor tweaks) to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.prep

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.prep
diff -u src/distrib/sets/lists/xdebug/md.prep:1.2 src/distrib/sets/lists/xdebug/md.prep:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.prep:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.prep	Sat Feb 27 21:31:22 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.prep,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.prep,v 1.2.4.1 2016/02/27 21:31:22 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -18,6 +18,13 @@
 ./usr/libdata/debug/usr/X11R7/bin/Xorg.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_alpine.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mga_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/s3_drv.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug
@@ -28,6 +35,7 @@
 ./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libint10.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:22:36 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.newsmips

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.newsmips

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.newsmips
diff -u src/distrib/sets/lists/xdebug/md.newsmips:1.2 src/distrib/sets/lists/xdebug/md.newsmips:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.newsmips:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.newsmips	Sat Feb 27 21:22:36 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.newsmips,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.newsmips,v 1.2.6.1 2016/02/27 21:22:36 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:22:08 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.newsmips

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.newsmips

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.newsmips
diff -u src/distrib/sets/lists/xdebug/md.newsmips:1.2 src/distrib/sets/lists/xdebug/md.newsmips:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.newsmips:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.newsmips	Sat Feb 27 21:22:08 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.newsmips,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.newsmips,v 1.2.4.1 2016/02/27 21:22:08 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:17:08 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.netwinder

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.netwinder

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.netwinder
diff -u src/distrib/sets/lists/xdebug/md.netwinder:1.2 src/distrib/sets/lists/xdebug/md.netwinder:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.netwinder:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.netwinder	Sat Feb 27 21:17:08 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.netwinder,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.netwinder,v 1.2.4.1 2016/02/27 21:17:08 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libcfb32_g.a		-unknown-	obsolete
 ./usr/X11R7/lib/modules/extensions/libcfb_g.a		-unknown-	obsolete
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
@@ -43,6 +43,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/xorgconfig.debug	-unknown-	obsolete
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:18:25 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.netwinder

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.netwinder

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.netwinder
diff -u src/distrib/sets/lists/xdebug/md.netwinder:1.2 src/distrib/sets/lists/xdebug/md.netwinder:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.netwinder:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.netwinder	Sat Feb 27 21:18:24 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.netwinder,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.netwinder,v 1.2.6.1 2016/02/27 21:18:24 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libcfb32_g.a		-unknown-	obsolete
 ./usr/X11R7/lib/modules/extensions/libcfb_g.a		-unknown-	obsolete
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
@@ -43,6 +43,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/xorgconfig.debug	-unknown-	obsolete
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:10:14 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.hpcsh

Log Message:
Pull up r1.3 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.hpcsh

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.hpcsh
diff -u src/distrib/sets/lists/xdebug/md.hpcsh:1.2 src/distrib/sets/lists/xdebug/md.hpcsh:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.hpcsh:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.hpcsh	Sat Feb 27 21:10:14 2016
@@ -1,10 +1,12 @@
-# $NetBSD: md.hpcsh,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.hpcsh,v 1.2.6.1 2016/02/27 21:10:14 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libextmod_g.a	-unknown-	debuglib,xorg
+./usr/X11R7/lib/modules/extensions/libglx_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/librecord_g.a	-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libshadow_g.a	-unknown-	debuglib,xorg
+./usr/X11R7/lib/modules/libexa_g.a			-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/libfb_g.a			-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/libi2c_g.a			-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/libshadowfb_g.a			-unknown-	debuglib,xorg
@@ -15,22 +17,23 @@
 ./usr/libdata/debug/usr/X11R6/bin/Xhpc.debug		-unknown-	debug,x11
 ./usr/libdata/debug/usr/X11R6/bin/Xvfb.debug		-unknown-	debug,x11
 ./usr/libdata/debug/usr/X11R7/bin/Xorg.debug		-unknown-	debug,xorg
-./usr/libdata/debug/usr/X11R7/bin/Xorg.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug		-unknown-	debug,xorg
-./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
-./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libextmod.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libglx.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/librecord.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libshadow.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libxaa.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libextmod.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libglx.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/librecord.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libshadow.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	debug,xorg

CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:01:04 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.hpcarm

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.hpcarm

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.hpcarm
diff -u src/distrib/sets/lists/xdebug/md.hpcarm:1.2 src/distrib/sets/lists/xdebug/md.hpcarm:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.hpcarm:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.hpcarm	Sat Feb 27 21:01:04 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.hpcarm,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.hpcarm,v 1.2.6.1 2016/02/27 21:01:04 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:09:33 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.hpcsh

Log Message:
Pull up r1.3 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.hpcsh

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.hpcsh
diff -u src/distrib/sets/lists/xdebug/md.hpcsh:1.2 src/distrib/sets/lists/xdebug/md.hpcsh:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.hpcsh:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.hpcsh	Sat Feb 27 21:09:33 2016
@@ -1,10 +1,12 @@
-# $NetBSD: md.hpcsh,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.hpcsh,v 1.2.4.1 2016/02/27 21:09:33 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libextmod_g.a	-unknown-	debuglib,xorg
+./usr/X11R7/lib/modules/extensions/libglx_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/librecord_g.a	-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libshadow_g.a	-unknown-	debuglib,xorg
+./usr/X11R7/lib/modules/libexa_g.a			-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/libfb_g.a			-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/libi2c_g.a			-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/libshadowfb_g.a			-unknown-	debuglib,xorg
@@ -15,22 +17,23 @@
 ./usr/libdata/debug/usr/X11R6/bin/Xhpc.debug		-unknown-	debug,x11
 ./usr/libdata/debug/usr/X11R6/bin/Xvfb.debug		-unknown-	debug,x11
 ./usr/libdata/debug/usr/X11R7/bin/Xorg.debug		-unknown-	debug,xorg
-./usr/libdata/debug/usr/X11R7/bin/Xorg.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug		-unknown-	debug,xorg
-./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
-./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libextmod.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libglx.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/librecord.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libshadow.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	xorg,debug
-./usr/libdata/debug/usr/X11R7/lib/modules/libxaa.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libextmod.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libglx.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/librecord.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libshadow.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	debug,xorg
+./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	debug,xorg

CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 21:00:29 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.hpcarm

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.hpcarm

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.hpcarm
diff -u src/distrib/sets/lists/xdebug/md.hpcarm:1.2 src/distrib/sets/lists/xdebug/md.hpcarm:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.hpcarm:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.hpcarm	Sat Feb 27 21:00:29 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.hpcarm,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.hpcarm,v 1.2.4.1 2016/02/27 21:00:29 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 20:50:34 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.dreamcast

Log Message:
Pull up r1.6 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.dreamcast

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.dreamcast
diff -u src/distrib/sets/lists/xdebug/md.dreamcast:1.2 src/distrib/sets/lists/xdebug/md.dreamcast:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.dreamcast:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.dreamcast	Sat Feb 27 20:50:34 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.dreamcast,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.dreamcast,v 1.2.6.1 2016/02/27 20:50:34 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 20:54:48 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.ews4800mips

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.ews4800mips

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.ews4800mips
diff -u src/distrib/sets/lists/xdebug/md.ews4800mips:1.2 src/distrib/sets/lists/xdebug/md.ews4800mips:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.ews4800mips:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.ews4800mips	Sat Feb 27 20:54:48 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.ews4800mips,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.ews4800mips,v 1.2.6.1 2016/02/27 20:54:48 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 20:54:10 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.ews4800mips

Log Message:
Pull up r1.4 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.ews4800mips

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.ews4800mips
diff -u src/distrib/sets/lists/xdebug/md.ews4800mips:1.2 src/distrib/sets/lists/xdebug/md.ews4800mips:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.ews4800mips:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.ews4800mips	Sat Feb 27 20:54:10 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.ews4800mips,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.ews4800mips,v 1.2.4.1 2016/02/27 20:54:10 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 20:49:50 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.dreamcast

Log Message:
Pull up r1.6 to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.dreamcast

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.dreamcast
diff -u src/distrib/sets/lists/xdebug/md.dreamcast:1.2 src/distrib/sets/lists/xdebug/md.dreamcast:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.dreamcast:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.dreamcast	Sat Feb 27 20:49:50 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.dreamcast,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.dreamcast,v 1.2.4.1 2016/02/27 20:49:50 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -20,6 +20,10 @@
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/wsfb_drv.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7-0] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 20:42:22 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7-0]: md.bebox

Log Message:
Pull up r1.4 (with minor adjustments) to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sets/lists/xdebug/md.bebox

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.bebox
diff -u src/distrib/sets/lists/xdebug/md.bebox:1.2 src/distrib/sets/lists/xdebug/md.bebox:1.2.6.1
--- src/distrib/sets/lists/xdebug/md.bebox:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.bebox	Sat Feb 27 20:42:22 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.bebox,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.bebox,v 1.2.6.1 2016/02/27 20:42:22 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -18,6 +18,14 @@
 ./usr/libdata/debug/usr/X11R7/bin/Xorg.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_alpine.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mga_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/s3_drv.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/s3virge_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug
@@ -28,6 +36,7 @@
 ./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libint10.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	xorg,debug



CVS commit: [netbsd-7] src/distrib/sets/lists/xdebug

2016-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 27 20:41:33 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.bebox

Log Message:
Pull up r1.4 (with minor adjustments) to fix debug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/distrib/sets/lists/xdebug/md.bebox

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

Modified files:

Index: src/distrib/sets/lists/xdebug/md.bebox
diff -u src/distrib/sets/lists/xdebug/md.bebox:1.2 src/distrib/sets/lists/xdebug/md.bebox:1.2.4.1
--- src/distrib/sets/lists/xdebug/md.bebox:1.2	Sun Aug 11 22:29:03 2013
+++ src/distrib/sets/lists/xdebug/md.bebox	Sat Feb 27 20:41:33 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.bebox,v 1.2 2013/08/11 22:29:03 joerg Exp $
+# $NetBSD: md.bebox,v 1.2.4.1 2016/02/27 20:41:33 martin Exp $
 ./usr/X11R7/lib/modules/extensions/libdbe_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri2_g.a		-unknown-	debuglib,xorg
 ./usr/X11R7/lib/modules/extensions/libdri_g.a		-unknown-	debuglib,xorg
@@ -18,6 +18,14 @@
 ./usr/libdata/debug/usr/X11R7/bin/Xorg.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/bin/gtf.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_alpine.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/cirrus_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/kbd_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mga_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/mouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/s3_drv.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/s3virge_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/ws_drv.so.1.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug	-unknown-	xorg,debug
@@ -28,6 +36,7 @@
 ./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libint10.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug	-unknown-	xorg,debug
 ./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug	-unknown-	xorg,debug



CVS commit: src/share/mk

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 20:36:18 UTC 2016

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

Log Message:
Don't build archive libs with -fPIC breaks static binaries and profilig.


To generate a diff of this commit:
cvs rdiff -u -r1.364 -r1.365 src/share/mk/bsd.lib.mk

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

Modified files:

Index: src/share/mk/bsd.lib.mk
diff -u src/share/mk/bsd.lib.mk:1.364 src/share/mk/bsd.lib.mk:1.365
--- src/share/mk/bsd.lib.mk:1.364	Sat Feb 20 22:34:27 2016
+++ src/share/mk/bsd.lib.mk	Sat Feb 27 15:36:17 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.lib.mk,v 1.364 2016/02/21 03:34:27 christos Exp $
+#	$NetBSD: bsd.lib.mk,v 1.365 2016/02/27 20:36:17 christos Exp $
 #	@(#)bsd.lib.mk	8.3 (Berkeley) 4/22/94
 
 .include 
@@ -42,10 +42,11 @@ realinstall:	checkver libinstall
 # XXX: This is needed for programs that link with .a libraries
 # Perhaps a more correct solution is to always generate _pic.a
 # files or always have a shared library.
-.if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)
-CFLAGS+=${PIE_CFLAGS}
-AFLAGS+=${PIE_AFLAGS}
-.endif
+# Disabled since it breaks profiling.
+#.if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)
+#CFLAGS+=${PIE_CFLAGS}
+#AFLAGS+=${PIE_AFLAGS}
+#.endif
 
 # Libraries that this may depend upon.
 .if defined(LIBDPLIBS) && ${MKPIC} != "no"# {



CVS commit: src/sys/arch

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:26:14 UTC 2016

Modified Files:
src/sys/arch/sparc/conf: Makefile.sparc
src/sys/arch/sparc/stand: Makefile.inc
src/sys/arch/sparc64/conf: Makefile.sparc64

Log Message:
Ignore unused arguments for clang as we pass assembler flags and the
like to the preprocessor-only mode. Conditionalize GCC flags that are
not known to clang accordingly.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/sparc/conf/Makefile.sparc
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/sparc/stand/Makefile.inc
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/sparc64/conf/Makefile.sparc64

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

Modified files:

Index: src/sys/arch/sparc/conf/Makefile.sparc
diff -u src/sys/arch/sparc/conf/Makefile.sparc:1.93 src/sys/arch/sparc/conf/Makefile.sparc:1.94
--- src/sys/arch/sparc/conf/Makefile.sparc:1.93	Mon Aug 24 14:04:25 2015
+++ src/sys/arch/sparc/conf/Makefile.sparc	Sat Feb 27 19:26:13 2016
@@ -1,4 +1,4 @@
-# 	$NetBSD: Makefile.sparc,v 1.93 2015/08/24 14:04:25 uebayasi Exp $
+# 	$NetBSD: Makefile.sparc,v 1.94 2016/02/27 19:26:13 joerg Exp $
 
 # Makefile for NetBSD
 #
@@ -33,10 +33,12 @@ GENASSYM_CONF=	${SPARC}/sparc/genassym.c
 ##
 # work around GCC (egcs-2.91.66) bug which is liable
 # to use FPU registers as temporaries:
-CFLAGS+=	-mno-fpu
+CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mno-fpu :}
 CFLAGS+=	-Wa,-Av8
+CFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
 AFLAGS+=	-x assembler-with-cpp
 AFLAGS+=	-Wa,-Av8
+AFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
 
 ##
 ## (3) libkern and compat

Index: src/sys/arch/sparc/stand/Makefile.inc
diff -u src/sys/arch/sparc/stand/Makefile.inc:1.10 src/sys/arch/sparc/stand/Makefile.inc:1.11
--- src/sys/arch/sparc/stand/Makefile.inc:1.10	Sun Dec 11 12:19:08 2005
+++ src/sys/arch/sparc/stand/Makefile.inc	Sat Feb 27 19:26:14 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.10 2005/12/11 12:19:08 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.11 2016/02/27 19:26:14 joerg Exp $
 
 .ifndef __INCLUDED_STAND_MAKEFILE_INC
 __INCLUDED_STAND_MAKEFILE_INC=
@@ -6,7 +6,7 @@ __INCLUDED_STAND_MAKEFILE_INC=
 BINDIR=		/usr/mdec
 
 CPPFLAGS+=	-DSTANDALONE -I.
-CFLAGS+=	-msoft-float -ffreestanding
+CFLAGS+=	-ffreestanding ${${ACTIVE_CC} == "gcc":? -msoft-float :}
 
 .if ${MACHINE} == "sparc64"
 CPPFLAGS+=	-DSUN4U

Index: src/sys/arch/sparc64/conf/Makefile.sparc64
diff -u src/sys/arch/sparc64/conf/Makefile.sparc64:1.80 src/sys/arch/sparc64/conf/Makefile.sparc64:1.81
--- src/sys/arch/sparc64/conf/Makefile.sparc64:1.80	Mon Aug 31 08:00:44 2015
+++ src/sys/arch/sparc64/conf/Makefile.sparc64	Sat Feb 27 19:26:14 2016
@@ -1,4 +1,4 @@
-# 	$NetBSD: Makefile.sparc64,v 1.80 2015/08/31 08:00:44 martin Exp $
+# 	$NetBSD: Makefile.sparc64,v 1.81 2016/02/27 19:26:14 joerg Exp $
 
 #=
 #
@@ -56,6 +56,7 @@ CPPFLAGS+=	-Dsparc64 -D__sparc64__
 .if ${LP64} == "yes"
 # 64-bit kernels
 CPPFLAGS+=	-D_LP64 -Wa,-Av9a
+CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
 AFLAGS+=	-Wa,-Av9a
 .if defined(PROF)
 # Profiling is only supported in the medium low memory model.
@@ -69,9 +70,11 @@ CFLAGS+=	${${ACTIVE_CC} == "clang":? -mc
 .else
 # 32-bit kernels
 CPPFLAGS+=	-m32 -Wa,-Av8plusa -mcpu=ultrasparc
+CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
 AFLAGS+=	-Wa,-Av8plusa
+AFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
 .endif
-CFLAGS+=	-mno-fpu
+CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mno-fpu :}
 AFLAGS+=	-x assembler-with-cpp
 
 ##



CVS commit: src/sys/arch/sparc/stand

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:25:08 UTC 2016

Modified Files:
src/sys/arch/sparc/stand: Makefile.buildboot

Log Message:
When building with clang, optimise for minimal size and skip frame
pointers when possible.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sparc/stand/Makefile.buildboot

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

Modified files:

Index: src/sys/arch/sparc/stand/Makefile.buildboot
diff -u src/sys/arch/sparc/stand/Makefile.buildboot:1.29 src/sys/arch/sparc/stand/Makefile.buildboot:1.30
--- src/sys/arch/sparc/stand/Makefile.buildboot:1.29	Mon Aug 12 16:34:05 2013
+++ src/sys/arch/sparc/stand/Makefile.buildboot	Sat Feb 27 19:25:08 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.buildboot,v 1.29 2013/08/12 16:34:05 joerg Exp $
+#	$NetBSD: Makefile.buildboot,v 1.30 2016/02/27 19:25:08 joerg Exp $
 #
 # This file is for the sparc `boot' and `bootxx' only; it does not
 # currently play well on a 64-bit system.
@@ -35,7 +35,8 @@ CPPFLAGS+=	-D_STANDALONE -DSUN4 -DSUN4C 
 
 CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
 CPPFLAGS+=	-I${.CURDIR}/../../../../../common/include
-CFLAGS=		-Os -fno-unwind-tables
+CFLAGS=		${${ACTIVE_CC} == "clang":? -Oz -fomit-frame-pointer : -Os } -fno-unwind-tables
+AFLAGS+=	${${ACTIVE_CC} == "clang":? -Oz :}
 CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes -ffreestanding
 
 ### find out what to use for libkern



CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:20:47 UTC 2016

Modified Files:
src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc: aes.inc
crypto.inc modes.inc sha.inc

Log Message:
Explicitly request SPARCv9 assembler support for v9 using assembler
files.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes.inc \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha.inc

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

Modified files:

Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes.inc
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes.inc:1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes.inc:1.1	Sun Mar  2 09:02:43 2014
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes.inc	Sat Feb 27 19:20:47 2016
@@ -2,5 +2,6 @@
 .PATH.S: ${.PARSEDIR}
 AES_SRCS = aes_core.c aes_cbc.c aes-sparcv9.S
 AESCPPFLAGS = -DAES_ASM
+AFLAGS.aes-sparcv9.S+= -Wa,-Av9
 .endif
 .include "../../aes.inc"
Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc:1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc:1.1	Sun Mar  2 09:02:43 2014
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc	Sat Feb 27 19:20:47 2016
@@ -3,5 +3,7 @@
 CPUID_SRCS = sparcv9cap.c sparccpuid.S sparcv9-mont.S sparcv9a-mont.S
 CPUID = yes
 #CPPFLAGS += -DOPENSSL_BN_ASM_MONT
+AFLAGS.sparcv9-mont.S+= -Wa,-Av9
+AFLAGS.sparcv9a-mont.S+= -Wa,-Av9a
 .endif
 .include "../../crypto.inc"
Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc:1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc:1.1	Sun Mar  2 09:02:43 2014
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc	Sat Feb 27 19:20:47 2016
@@ -2,5 +2,6 @@
 .PATH.S: ${.PARSEDIR}
 MODES_SRCS = ghash-sparcv9.o
 MODESCPPFLAGS = -DGHASH_ASM
+AFLAGS.ghash-sparcv9.S+= -Wa,-Av9
 .endif
 .include "../../modes.inc"
Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha.inc
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha.inc:1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha.inc:1.1	Sun Mar  2 09:02:43 2014
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha.inc	Sat Feb 27 19:20:47 2016
@@ -2,5 +2,6 @@
 .PATH.S: ${.PARSEDIR}
 SHA_SRCS = sha1-sparcv9.S
 SHACPPFLAGS = -DSHA1_ASM
+AFLAGS.sha1-sparcv9.S+= -Wa,-Av9
 .endif
 .include "../../sha.inc"



CVS commit: src/common/lib/libc/atomic

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:20:01 UTC 2016

Modified Files:
src/common/lib/libc/atomic: atomic_add_32_nv_cas.c

Log Message:
Include the C11 atomic builtin alias.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/atomic/atomic_add_32_nv_cas.c

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

Modified files:

Index: src/common/lib/libc/atomic/atomic_add_32_nv_cas.c
diff -u src/common/lib/libc/atomic/atomic_add_32_nv_cas.c:1.6 src/common/lib/libc/atomic/atomic_add_32_nv_cas.c:1.7
--- src/common/lib/libc/atomic/atomic_add_32_nv_cas.c:1.6	Sat Feb 22 17:08:30 2014
+++ src/common/lib/libc/atomic/atomic_add_32_nv_cas.c	Sat Feb 27 19:20:01 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: atomic_add_32_nv_cas.c,v 1.6 2014/02/22 17:08:30 martin Exp $	*/
+/*	$NetBSD: atomic_add_32_nv_cas.c,v 1.7 2016/02/27 19:20:01 joerg Exp $	*/
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -49,6 +49,7 @@ atomic_add_32_nv(volatile uint32_t *addr
 #undef atomic_add_32_nv
 atomic_op_alias(atomic_add_32_nv,_atomic_add_32_nv)
 crt_alias(__sync_add_and_fetch_4,_atomic_add_32_nv)
+crt_alias(__atomic_add_fetch_4,_atomic_add_32_nv)
 
 #undef atomic_add_int_nv
 atomic_op_alias(atomic_add_int_nv,_atomic_add_32_nv)



CVS commit: src/common/lib/libc/arch/sparc/atomic

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:19:33 UTC 2016

Modified Files:
src/common/lib/libc/arch/sparc/atomic: Makefile.inc

Log Message:
When using clang, do not use the sparc64 code as it doesn't provide the
full set of symbols and clang in -m32 defaults to sparcv8, not
sparcv8plus.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/common/lib/libc/arch/sparc/atomic/Makefile.inc

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

Modified files:

Index: src/common/lib/libc/arch/sparc/atomic/Makefile.inc
diff -u src/common/lib/libc/arch/sparc/atomic/Makefile.inc:1.20 src/common/lib/libc/arch/sparc/atomic/Makefile.inc:1.21
--- src/common/lib/libc/arch/sparc/atomic/Makefile.inc:1.20	Sat Feb 27 19:18:29 2016
+++ src/common/lib/libc/arch/sparc/atomic/Makefile.inc	Sat Feb 27 19:19:33 2016
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile.inc,v 1.20 2016/02/27 19:18:29 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.21 2016/02/27 19:19:33 joerg Exp $
 
 .include 
 
 # This is called with MACHINE=sparc64 && MACHINE_ARCH=sparc when building
 # 32 bit kernels for ultrasparc hardware
-.if ${MACHINE} == "sparc64"
+.if ${MACHINE} == "sparc64" && ${HAVE_LLVM:Uno} == "no"
 
 SPARC64DIR=	${.PARSEDIR}/../../sparc64/atomic
 .PATH.c: ${SPARC64DIR}



CVS commit: src/common/lib/libc/arch/sparc/atomic

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:18:29 UTC 2016

Modified Files:
src/common/lib/libc/arch/sparc/atomic: Makefile.inc

Log Message:
Include C11 load/store helpers.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/common/lib/libc/arch/sparc/atomic/Makefile.inc

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

Modified files:

Index: src/common/lib/libc/arch/sparc/atomic/Makefile.inc
diff -u src/common/lib/libc/arch/sparc/atomic/Makefile.inc:1.19 src/common/lib/libc/arch/sparc/atomic/Makefile.inc:1.20
--- src/common/lib/libc/arch/sparc/atomic/Makefile.inc:1.19	Sun Oct 18 02:28:07 2015
+++ src/common/lib/libc/arch/sparc/atomic/Makefile.inc	Sat Feb 27 19:18:29 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.19 2015/10/18 02:28:07 nakayama Exp $
+#	$NetBSD: Makefile.inc,v 1.20 2016/02/27 19:18:29 joerg Exp $
 
 .include 
 
@@ -43,7 +43,8 @@ SRCS+=	atomic_nand_16_cas.c atomic_nand_
 	atomic_swap_16_cas.c atomic_swap_8_cas.c	\
 	atomic_c11_compare_exchange_cas_32.c		\
 	atomic_c11_compare_exchange_cas_16.c		\
-	atomic_c11_compare_exchange_cas_8.c
+	atomic_c11_compare_exchange_cas_8.c \
+	atomic_load.c atomic_store.c
 .  endif
 
 .  if (${LIB} == "kern" || ${LIB} == "rump")



CVS commit: src/sys/external/bsd/compiler_rt

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:12:05 UTC 2016

Modified Files:
src/sys/external/bsd/compiler_rt: prepare-import.sh

Log Message:
Synchronise with new components we are currently not interested in.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/compiler_rt/prepare-import.sh

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

Modified files:

Index: src/sys/external/bsd/compiler_rt/prepare-import.sh
diff -u src/sys/external/bsd/compiler_rt/prepare-import.sh:1.4 src/sys/external/bsd/compiler_rt/prepare-import.sh:1.5
--- src/sys/external/bsd/compiler_rt/prepare-import.sh:1.4	Fri May 16 00:08:17 2014
+++ src/sys/external/bsd/compiler_rt/prepare-import.sh	Sat Feb 27 19:12:05 2016
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: prepare-import.sh,v 1.4 2014/05/16 00:08:17 joerg Exp $
+# $NetBSD: prepare-import.sh,v 1.5 2016/02/27 19:12:05 joerg Exp $
 #
 # Checkout compiler_rt into dist.
 # Run this script and check for additional files and directories to prune,
@@ -11,9 +11,13 @@ cd dist
 rm -rf .svn
 rm -rf SDKs android cmake include make third_party unittests www
 rm -f .arcconfig .gitignore CMakeLists.txt Makefile
-rm -rf lib/BlocksRuntime lib/asan lib/dfsan lib/interception lib/lsan
-rm -rf lib/msan lib/msandr lib/sanitizer_common lib/tsan lib/ubsan
-rm -rf test/BlocksRuntime test/asan test/dfsan test/lit.* test/lsan test/msan test/sanitizer_common test/tsan test/ubsan
+rm -rf lib/BlocksRuntime lib/asan lib/dfsan lib/interception lib/lsan lib/cfi
+rm -rf lib/msan lib/msandr lib/sanitizer_common lib/safestack lib/tsan lib/ubsan
+rm -rf  lib/builtins/Darwin-excludes lib/builtins/macho_embedded
+rm -rf test/BlocksRuntime test/asan test/cfi test/dfsan test/lit.* test/lsan
+rm -rf test/msan test/sanitizer_common test/safestack test/tsan test/ubsan
 rm -f lib/*/*/Makefile.mk lib/*/Makefile.mk */Makefile.mk
 rm -f lib/*/CMakeLists.txt */CMakeLists.txt
 rm -f lib/builtins/apple_versioning.c lib/lit.common.*
+cd ..
+find dist -type d -delete 2> /dev/null



CVS commit: src/lib/libc/compiler_rt

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:08:23 UTC 2016

Modified Files:
src/lib/libc/compiler_rt: Makefile.inc

Log Message:
Sync with changes in the profiling implementation of compiler-rt.
Switch to the "Linux" runtime, which is kind of misnamed for the mostly
ELF based implementation. Make sure to hook up the runtime source
only for the profile library as it uses constructors for the output
creation.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/compiler_rt/Makefile.inc

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

Modified files:

Index: src/lib/libc/compiler_rt/Makefile.inc
diff -u src/lib/libc/compiler_rt/Makefile.inc:1.27 src/lib/libc/compiler_rt/Makefile.inc:1.28
--- src/lib/libc/compiler_rt/Makefile.inc:1.27	Wed Sep  3 19:29:14 2014
+++ src/lib/libc/compiler_rt/Makefile.inc	Sat Feb 27 19:08:23 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.27 2014/09/03 19:29:14 matt Exp $
+# $NetBSD: Makefile.inc,v 1.28 2016/02/27 19:08:23 joerg Exp $
 
 COMPILER_RT_SRCDIR=	${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -211,7 +211,12 @@ GENERIC_SRCS+= \
 	InstrProfiling.c \
 	InstrProfilingBuffer.c \
 	InstrProfilingFile.c \
-	InstrProfilingPlatformOther.c
+	InstrProfilingPlatformLinux.c \
+	InstrProfilingUtil.c \
+	InstrProfilingValue.c \
+	InstrProfilingWriter.c
+
+POBJS+= InstrProfilingRuntime.po
 
 .if ${LIBC_MACHINE_ARCH} == "powerpc" || ${LIBC_MACHINE_ARCH} == "powerpc64"
 GENERIC_SRCS+= \



CVS commit: src/lib/libm/compiler_rt

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:06:56 UTC 2016

Modified Files:
src/lib/libm/compiler_rt: Makefile.inc

Log Message:
Long double complex multiplication and division helpers are needed on
Sparc64 and AArch64.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libm/compiler_rt/Makefile.inc

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

Modified files:

Index: src/lib/libm/compiler_rt/Makefile.inc
diff -u src/lib/libm/compiler_rt/Makefile.inc:1.9 src/lib/libm/compiler_rt/Makefile.inc:1.10
--- src/lib/libm/compiler_rt/Makefile.inc:1.9	Wed Oct 22 10:33:27 2014
+++ src/lib/libm/compiler_rt/Makefile.inc	Sat Feb 27 19:06:56 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.9 2014/10/22 10:33:27 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.10 2016/02/27 19:06:56 joerg Exp $
 
 COMPILER_RT_SRCDIR=	${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -23,7 +23,7 @@ GENERIC_SRCS+= \
 	divsc3.c \
 	divxc3.c
 
-.if ${MACHINE_CPU} == "powerpc"
+.if ${MACHINE_CPU} == "powerpc" || ${LIBC_MACHINE_CPU:U} == "sparc64" || ${LIBC_MACHINE_CPU:U} == "aarch64"
 GENERIC_SRCS+= \
 	divtc3.c \
 	multc3.c



CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/builtins

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 19:05:27 UTC 2016

Modified Files:
src/sys/external/bsd/compiler_rt/dist/lib/builtins:
gcc_personality_v0.c

Log Message:
Merge compiler-rt-259194.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/bsd/compiler_rt/dist/lib/builtins/gcc_personality_v0.c

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

Modified files:

Index: src/sys/external/bsd/compiler_rt/dist/lib/builtins/gcc_personality_v0.c
diff -u src/sys/external/bsd/compiler_rt/dist/lib/builtins/gcc_personality_v0.c:1.2 src/sys/external/bsd/compiler_rt/dist/lib/builtins/gcc_personality_v0.c:1.3
--- src/sys/external/bsd/compiler_rt/dist/lib/builtins/gcc_personality_v0.c:1.2	Mon Mar  9 17:28:11 2015
+++ src/sys/external/bsd/compiler_rt/dist/lib/builtins/gcc_personality_v0.c	Sat Feb 27 19:05:27 2016
@@ -11,47 +11,7 @@
 
 #include "int_lib.h"
 
-/*
- * _Unwind_* stuff based on C++ ABI public documentation
- * http://refspecs.freestandards.org/abi-eh-1.21.html
- */
-
-typedef enum {
-_URC_NO_REASON = 0,
-_URC_FOREIGN_EXCEPTION_CAUGHT = 1,
-_URC_FATAL_PHASE2_ERROR = 2,
-_URC_FATAL_PHASE1_ERROR = 3,
-_URC_NORMAL_STOP = 4,
-_URC_END_OF_STACK = 5,
-_URC_HANDLER_FOUND = 6,
-_URC_INSTALL_CONTEXT = 7,
-_URC_CONTINUE_UNWIND = 8
-} _Unwind_Reason_Code;
-
-typedef enum {
-_UA_SEARCH_PHASE = 1,
-_UA_CLEANUP_PHASE = 2,
-_UA_HANDLER_FRAME = 4,
-_UA_FORCE_UNWIND = 8,
-_UA_END_OF_STACK = 16
-} _Unwind_Action;
-
-typedef struct _Unwind_Context* _Unwind_Context_t;
-
-struct _Unwind_Exception {
-uint64_texception_class;
-void(*exception_cleanup)(_Unwind_Reason_Code reason, 
- struct _Unwind_Exception* exc);
-uintptr_tprivate_1;
-uintptr_tprivate_2;
-};
-
-COMPILER_RT_ABI  const uint8_t*_Unwind_GetLanguageSpecificData(_Unwind_Context_t c);
-COMPILER_RT_ABI  void  _Unwind_SetGR(_Unwind_Context_t c, int i, uintptr_t n);
-COMPILER_RT_ABI  void  _Unwind_SetIP(_Unwind_Context_t, uintptr_t new_value);
-COMPILER_RT_ABI  uintptr_t _Unwind_GetIP(_Unwind_Context_t context);
-COMPILER_RT_ABI  uintptr_t _Unwind_GetRegionStart(_Unwind_Context_t context);
-
+#include 
 
 /*
  * Pointer encodings documented at:
@@ -181,16 +141,17 @@ static uintptr_t readEncodedPointer(cons
  * throw through a C function compiled with -fexceptions.
  */
 #if __USING_SJLJ_EXCEPTIONS__
-// the setjump-longjump based exceptions personality routine has a different name
+/* the setjump-longjump based exceptions personality routine has a
+ * different name */
 COMPILER_RT_ABI _Unwind_Reason_Code
 __gcc_personality_sj0(int version, _Unwind_Action actions,
  uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject,
- _Unwind_Context_t context)
+ struct _Unwind_Context *context)
 #else
 COMPILER_RT_ABI _Unwind_Reason_Code
 __gcc_personality_v0(int version, _Unwind_Action actions,
  uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject,
- _Unwind_Context_t context)
+ struct _Unwind_Context *context)
 #endif
 {
 /* Since C does not have catch clauses, there is nothing to do during */
@@ -199,7 +160,7 @@ __gcc_personality_v0(int version, _Unwin
 return _URC_CONTINUE_UNWIND;
 
 /* There is nothing to do if there is no LSDA for this frame. */
-const uint8_t* lsda = _Unwind_GetLanguageSpecificData(context);
+const uint8_t* lsda = (uint8_t*)_Unwind_GetLanguageSpecificData(context);
 if ( lsda == (uint8_t*) 0 )
 return _URC_CONTINUE_UNWIND;
 
@@ -234,15 +195,15 @@ __gcc_personality_v0(int version, _Unwin
  * Set Instruction Pointer to so we re-enter function 
  * at landing pad. The landing pad is created by the compiler
  * to take two parameters in registers.
-	 */
-_Unwind_SetGR(context, __builtin_eh_return_data_regno(0), 
-(uintptr_t)exceptionObject);
+ */
+_Unwind_SetGR(context, __builtin_eh_return_data_regno(0),
+  (uintptr_t)exceptionObject);
 _Unwind_SetGR(context, __builtin_eh_return_data_regno(1), 0);
-_Unwind_SetIP(context, funcStart+landingPad);
+_Unwind_SetIP(context, (funcStart + landingPad));
 return _URC_INSTALL_CONTEXT;
 }
 }
-
+
 /* No landing pad found, continue unwinding. */
 return _URC_CONTINUE_UNWIND;
 }



CVS import: src/sys/external/bsd/compiler_rt/dist

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 18:59:45 UTC 2016

Update of /cvsroot/src/sys/external/bsd/compiler_rt/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv24593

Log Message:
Import compiler-rt r259194. Primary changes are better support for
128bit long double and a number of refinements in the profiling backend.

Status:

Vendor Tag: LLVM
Release Tags:   compiler-rt-259194

U src/sys/external/bsd/compiler_rt/dist/CODE_OWNERS.TXT
U src/sys/external/bsd/compiler_rt/dist/CREDITS.TXT
U src/sys/external/bsd/compiler_rt/dist/LICENSE.TXT
U src/sys/external/bsd/compiler_rt/dist/README.txt
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfdi.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsxfsi.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsxfti.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/README.txt
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixxfdi.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/absvdi2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixxfti.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/absvsi2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/absvti2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdisf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/adddf3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdixf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatsidf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/addtf3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatsisf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/addvdi3.c
N src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatsitf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/addvsi3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floattidf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/addvti3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfsi.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floattisf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/ashldi3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floattixf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/ashlti3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/ashrdi3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundisf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/ashrti3.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundixf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/assembly.h
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsidf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/atomic.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfti.c
N src/sys/external/bsd/compiler_rt/dist/lib/builtins/atomic_flag_clear.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfdi.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/mulxc3.c
N 
src/sys/external/bsd/compiler_rt/dist/lib/builtins/atomic_flag_clear_explicit.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfsi.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/negdf2.c
N src/sys/external/bsd/compiler_rt/dist/lib/builtins/atomic_flag_test_and_set.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/trampoline_setup.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/negdi2.c
N 
src/sys/external/bsd/compiler_rt/dist/lib/builtins/atomic_flag_test_and_set_explicit.c
N src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunstfti.c
N src/sys/external/bsd/compiler_rt/dist/lib/builtins/atomic_signal_fence.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsxfdi.c
N src/sys/external/bsd/compiler_rt/dist/lib/builtins/atomic_thread_fence.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsisf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/clear_cache.c
N src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsitf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/clzdi2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatuntidf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/clzsi2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatuntisf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/clzti2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatuntixf.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/cmpdi2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fp_add_impl.inc
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/cmpti2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fp_extend.h
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/fp_extend_impl.inc
U src/sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c
N 

CVS commit: src/share/mk

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 18:56:33 UTC 2016

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

Log Message:
Sparc/Sparc64 also support libc++ and compiler-rt in libc with Clang.


To generate a diff of this commit:
cvs rdiff -u -r1.902 -r1.903 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.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.902 src/share/mk/bsd.own.mk:1.903
--- src/share/mk/bsd.own.mk:1.902	Tue Feb 23 18:03:31 2016
+++ src/share/mk/bsd.own.mk	Sat Feb 27 18:56:33 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.902 2016/02/23 18:03:31 macallan Exp $
+#	$NetBSD: bsd.own.mk,v 1.903 2016/02/27 18:56:33 joerg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -97,6 +97,8 @@ _LIBC_COMPILER_RT.aarch64=	yes
 _LIBC_COMPILER_RT.i386=		yes
 _LIBC_COMPILER_RT.powerpc=	yes
 _LIBC_COMPILER_RT.powerpc64=	yes
+_LIBC_COMPILER_RT.sparc=	yes
+_LIBC_COMPILER_RT.sparc64=	yes
 _LIBC_COMPILER_RT.x86_64=	yes
 
 .if ${HAVE_LLVM:Uno} == "yes" && ${_LIBC_COMPILER_RT.${MACHINE_ARCH}:Uno} == "yes"
@@ -1172,11 +1174,13 @@ MKNLS:=		no
 .if !empty(MACHINE_ARCH:Mearm*)
 _NEEDS_LIBCXX.${MACHINE_ARCH}=	yes
 .endif
+_NEEDS_LIBCXX.aarch64=		yes
 _NEEDS_LIBCXX.i386=		yes
 _NEEDS_LIBCXX.powerpc=		yes
 _NEEDS_LIBCXX.powerpc64=	yes
+_NEEDS_LIBCXX.sparc=		yes
+_NEEDS_LIBCXX.sparc64=		yes
 _NEEDS_LIBCXX.x86_64=		yes
-_NEEDS_LIBCXX.aarch64=		yes
 
 .if ${MKLLVM} == "yes" && ${_NEEDS_LIBCXX.${MACHINE_ARCH}:Uno} == "yes"
 MKLIBCXX:=	yes



CVS commit: src/share/mk

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 18:55:16 UTC 2016

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

Log Message:
Avoid syntax errors if HAVE_GCC is not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/share/mk/bsd.sys.mk

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

Modified files:

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.252 src/share/mk/bsd.sys.mk:1.253
--- src/share/mk/bsd.sys.mk:1.252	Sat Feb 20 16:36:08 2016
+++ src/share/mk/bsd.sys.mk	Sat Feb 27 18:55:15 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.252 2016/02/20 16:36:08 christos Exp $
+#	$NetBSD: bsd.sys.mk,v 1.253 2016/02/27 18:55:15 joerg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -85,7 +85,7 @@ CXXFLAGS+=	${${ACTIVE_CXX} == "gcc":? -W
 .if ${WARNS} > 4
 CFLAGS+=	-Wold-style-definition
 .endif
-.if ${WARNS} > 5 && !(defined(HAVE_GCC) && ${HAVE_GCC} <= 45)
+.if ${WARNS} > 5 && !(defined(HAVE_GCC) && ${HAVE_GCC:U0} <= 45)
 CFLAGS+=	-Wconversion
 .endif
 CFLAGS+=	-Wsign-compare -Wformat=2



CVS commit: src/distrib/sparc/miniroot

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 18:53:37 UTC 2016

Modified Files:
src/distrib/sparc/miniroot: Makefile.inc

Log Message:
Bump miniroot size slightly from 9216KB to 9360KB for clang.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/distrib/sparc/miniroot/Makefile.inc

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

Modified files:

Index: src/distrib/sparc/miniroot/Makefile.inc
diff -u src/distrib/sparc/miniroot/Makefile.inc:1.22 src/distrib/sparc/miniroot/Makefile.inc:1.23
--- src/distrib/sparc/miniroot/Makefile.inc:1.22	Sat Feb 27 18:52:51 2016
+++ src/distrib/sparc/miniroot/Makefile.inc	Sat Feb 27 18:53:37 2016
@@ -1,6 +1,6 @@
-#	$NetBSD: Makefile.inc,v 1.22 2016/02/27 18:52:51 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.23 2016/02/27 18:53:37 joerg Exp $
 
-IMAGESIZE=	9216k
+IMAGESIZE=	9360k
 DBG=		${${ACTIVE_CC} == "clang":? -Oz -fomit-frame-pointer : -Os } -fno-unwind-tables
 
 MAKEFS_FLAGS=   -o density=4k



CVS commit: src/distrib/sparc

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 18:52:51 UTC 2016

Modified Files:
src/distrib/sparc/miniroot: Makefile.inc
src/distrib/sparc/ramdisk: Makefile

Log Message:
For clang, optimize both ramdisk and miniroot for minimal size and skip
frame pointers where possible.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/distrib/sparc/miniroot/Makefile.inc
cvs rdiff -u -r1.41 -r1.42 src/distrib/sparc/ramdisk/Makefile

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

Modified files:

Index: src/distrib/sparc/miniroot/Makefile.inc
diff -u src/distrib/sparc/miniroot/Makefile.inc:1.21 src/distrib/sparc/miniroot/Makefile.inc:1.22
--- src/distrib/sparc/miniroot/Makefile.inc:1.21	Mon Aug  4 13:09:42 2014
+++ src/distrib/sparc/miniroot/Makefile.inc	Sat Feb 27 18:52:51 2016
@@ -1,7 +1,8 @@
-#	$NetBSD: Makefile.inc,v 1.21 2014/08/04 13:09:42 martin Exp $
+#	$NetBSD: Makefile.inc,v 1.22 2016/02/27 18:52:51 joerg Exp $
 
 IMAGESIZE=	9216k
-DBG=		-Os -fno-unwind-tables
+DBG=		${${ACTIVE_CC} == "clang":? -Oz -fomit-frame-pointer : -Os } -fno-unwind-tables
+
 MAKEFS_FLAGS=   -o density=4k
 IMAGEENDIAN=	be
 MAKEDEVTARGETS=	all ipty

Index: src/distrib/sparc/ramdisk/Makefile
diff -u src/distrib/sparc/ramdisk/Makefile:1.41 src/distrib/sparc/ramdisk/Makefile:1.42
--- src/distrib/sparc/ramdisk/Makefile:1.41	Tue Jun  9 11:06:09 2009
+++ src/distrib/sparc/ramdisk/Makefile	Sat Feb 27 18:52:51 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.41 2009/06/09 11:06:09 he Exp $
+#	$NetBSD: Makefile,v 1.42 2016/02/27 18:52:51 joerg Exp $
 #
 # ramdisk.fs is the microroot filesystem intended for use with
 # the INSTALL kernel. It provides just enough tools to extract the
@@ -13,7 +13,7 @@ IMAGE=		ramdisk.fs
 IMAGESIZE=	1800b
 
 WARNS=		1
-DBG=		-Os
+DBG=		${${ACTIVE_CC} == "clang":? -Oz -fomit-frame-pointer -fno-unwind-tables : -Os }
 
 CRUNCHBIN=	ramdiskbin
 LISTS=		${.CURDIR}/list



CVS commit: src

2016-02-27 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Feb 27 18:50:39 UTC 2016

Modified Files:
src/doc: TODO.clang
src/tests/lib/libc/sync: cpp_atomic_ops_linkable.cc

Log Message:
When building the atomic op test on SPARC64 with Clang, skip the
sub-32bit tests for now. Clang currently doesn't synthesize a CAS
replacement nor does it create a libcall.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/doc/TODO.clang
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sync/cpp_atomic_ops_linkable.cc

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

Modified files:

Index: src/doc/TODO.clang
diff -u src/doc/TODO.clang:1.17 src/doc/TODO.clang:1.18
--- src/doc/TODO.clang:1.17	Thu May 14 19:27:23 2015
+++ src/doc/TODO.clang	Sat Feb 27 18:50:39 2016
@@ -1,4 +1,4 @@
-$NetBSD: TODO.clang,v 1.17 2015/05/14 19:27:23 joerg Exp $
+$NetBSD: TODO.clang,v 1.18 2016/02/27 18:50:39 joerg Exp $
 
 Hacks for the clang integration
 ---
@@ -11,3 +11,6 @@ g++ otherwise crashes on trivial input.
 
 src/external/mit/xorg/lib/pixman uses -fno-integrated-as on ARM for the
 macro (ab)use.
+
+src/tests/lib/libc/sync disables tests for atomics shorter than 32bit on
+SPARC64 due to missing codegen support.

Index: src/tests/lib/libc/sync/cpp_atomic_ops_linkable.cc
diff -u src/tests/lib/libc/sync/cpp_atomic_ops_linkable.cc:1.3 src/tests/lib/libc/sync/cpp_atomic_ops_linkable.cc:1.4
--- src/tests/lib/libc/sync/cpp_atomic_ops_linkable.cc:1.3	Sun Oct 12 12:26:41 2014
+++ src/tests/lib/libc/sync/cpp_atomic_ops_linkable.cc	Sat Feb 27 18:50:39 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: cpp_atomic_ops_linkable.cc,v 1.3 2014/10/12 12:26:41 martin Exp $ */
+/* $NetBSD: cpp_atomic_ops_linkable.cc,v 1.4 2016/02/27 18:50:39 joerg Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -58,13 +58,19 @@ private:
   volatile std::atomic m_val;
 };
 
+#if defined(__clang__) && defined(__sparc64__)
+#define NO_SHORT_ATOMICS
+#endif
+
 int main(int argc, char **argv)
 {
+#ifndef NO_SHORT_ATOMICS
   ATest();
   ATest();
   ATest();
   ATest();
   ATest();
+#endif
   ATest();
   ATest();
   ATest();
@@ -73,23 +79,29 @@ int main(int argc, char **argv)
   ATest();
   ATest();
 #endif
+#ifndef NO_SHORT_ATOMICS
   ATest();
+#endif
   ATest();
   ATest();
+#ifndef NO_SHORT_ATOMICS
   ATest();
   ATest();
   ATest();
   ATest();
+#endif
   ATest();
   ATest();
 #ifdef __HAVE_ATOMIC64_OPS
   ATest();
   ATest();
 #endif
+#ifndef NO_SHORT_ATOMICS
   ATest();
   ATest();
   ATest();
   ATest();
+#endif
   ATest();
   ATest();
 #ifdef __HAVE_ATOMIC64_OPS
@@ -103,5 +115,5 @@ int main(int argc, char **argv)
 #ifdef __HAVE_ATOMIC64_OPS
   ATest();
   ATest();
-#endif
+#endif /* NO_SHORT_ATOMICS */
 }



CVS commit: src/bin/sh

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 18:34:12 UTC 2016

Modified Files:
src/bin/sh: Makefile eval.c main.c mknodenames.sh show.c

Log Message:
Improve debugging, from kre (I hooked it to the build).


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/bin/sh/Makefile
cvs rdiff -u -r1.113 -r1.114 src/bin/sh/eval.c
cvs rdiff -u -r1.59 -r1.60 src/bin/sh/main.c
cvs rdiff -u -r1.1 -r1.2 src/bin/sh/mknodenames.sh
cvs rdiff -u -r1.28 -r1.29 src/bin/sh/show.c

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

Modified files:

Index: src/bin/sh/Makefile
diff -u src/bin/sh/Makefile:1.101 src/bin/sh/Makefile:1.102
--- src/bin/sh/Makefile:1.101	Sun May 10 16:30:54 2015
+++ src/bin/sh/Makefile	Sat Feb 27 13:34:12 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.101 2015/05/10 20:30:54 joerg Exp $
+#	$NetBSD: Makefile,v 1.102 2016/02/27 18:34:12 christos Exp $
 #	@(#)Makefile	8.4 (Berkeley) 5/5/95
 
 .include 
@@ -10,7 +10,7 @@ SHSRCS=	alias.c cd.c echo.c error.c eval
 	mystring.c options.c parser.c redir.c show.c trap.c output.c var.c \
 	test.c kill.c syntax.c
 GENSRCS=arith.c arith_lex.c builtins.c init.c nodes.c
-GENHDRS=arith.h builtins.h nodes.h token.h
+GENHDRS=arith.h builtins.h nodes.h token.h nodenames.h
 SRCS=	${SHSRCS} ${GENSRCS}
 
 DPSRCS+=${GENHDRS}
@@ -76,6 +76,10 @@ nodes.c nodes.h: mknodes.sh nodetypes no
 	${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC} ${.OBJDIR}
 	[ -f nodes.h ]
 
+nodenames.h: mknodenames.sh nodes.h
+	${_MKTARGET_CREATE}
+	${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC} > ${.TARGET}
+
 .if ${USETOOLS} == "yes"
 NBCOMPATLIB=   -L${TOOLDIR}/lib -lnbcompat
 .endif

Index: src/bin/sh/eval.c
diff -u src/bin/sh/eval.c:1.113 src/bin/sh/eval.c:1.114
--- src/bin/sh/eval.c:1.113	Wed Feb 24 09:57:12 2016
+++ src/bin/sh/eval.c	Sat Feb 27 13:34:12 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: eval.c,v 1.113 2016/02/24 14:57:12 christos Exp $	*/
+/*	$NetBSD: eval.c,v 1.114 2016/02/27 18:34:12 christos Exp $	*/
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)eval.c	8.9 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: eval.c,v 1.113 2016/02/24 14:57:12 christos Exp $");
+__RCSID("$NetBSD: eval.c,v 1.114 2016/02/27 18:34:12 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -80,6 +80,7 @@ __RCSID("$NetBSD: eval.c,v 1.113 2016/02
 #include "mystring.h"
 #include "main.h"
 #ifndef SMALL
+#include "nodenames.h"
 #include "myhistedit.h"
 #endif
 
@@ -220,6 +221,7 @@ evalstring(char *s, int flag)
 	setinputstring(s, 1);
 
 	while ((n = parsecmd(0)) != NEOF) {
+		TRACE(("evalstring: "); showtree(n));
 		if (nflag == 0)
 			evaltree(n, flag);
 		popstackmark();
@@ -249,8 +251,13 @@ evaltree(union node *n, int flags)
 #ifndef SMALL
 	displayhist = 1;	/* show history substitutions done with fc */
 #endif
+#ifdef NODETYPENAME
+	TRACE(("pid %d, evaltree(%p: %s(%d), %d) called\n",
+	getpid(), n, NODETYPENAME(n->type), n->type, flags));
+#else
 	TRACE(("pid %d, evaltree(%p: %d, %d) called\n",
 	getpid(), n, n->type, flags));
+#endif
 	switch (n->type) {
 	case NSEMI:
 		evaltree(n->nbinary.ch1, flags & EV_TESTED);
@@ -341,6 +348,16 @@ evalloop(union node *n, int flags)
 
 	loopnest++;
 	status = 0;
+
+#ifdef NODETYPENAME
+	TRACE(("evalloop %s: ", NODETYPENAME(n->type)));
+#else
+	TRACE(("evalloop %s: ", n->type == NWHILE ? "while" : "until"));
+#endif
+	TRACE((""); showtree(n->nbinary.ch1));
+	TRACE(("evalloopdo: "); showtree(n->nbinary.ch2));
+	TRACE(("evalloop  done\n"));
+
 	for (;;) {
 		evaltree(n->nbinary.ch1, EV_TESTED);
 		if (evalskip) {

Index: src/bin/sh/main.c
diff -u src/bin/sh/main.c:1.59 src/bin/sh/main.c:1.60
--- src/bin/sh/main.c:1.59	Tue May 26 17:35:15 2015
+++ src/bin/sh/main.c	Sat Feb 27 13:34:12 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.59 2015/05/26 21:35:15 christos Exp $	*/
+/*	$NetBSD: main.c,v 1.60 2016/02/27 18:34:12 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 19
 #if 0
 static char sccsid[] = "@(#)main.c	8.7 (Berkeley) 7/19/95";
 #else
-__RCSID("$NetBSD: main.c,v 1.59 2015/05/26 21:35:15 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.60 2016/02/27 18:34:12 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -270,6 +270,7 @@ cmdloop(int top)
 			flushout();
 		}
 		n = parsecmd(inter);
+		TRACE(("cmdloop: "); showtree(n));
 		/* showtree(n); DEBUG */
 		if (n == NEOF) {
 			if (!top || numeof >= 50)

Index: src/bin/sh/mknodenames.sh
diff -u src/bin/sh/mknodenames.sh:1.1 src/bin/sh/mknodenames.sh:1.2
--- src/bin/sh/mknodenames.sh:1.1	Wed Feb 24 09:51:20 2016
+++ src/bin/sh/mknodenames.sh	Sat Feb 27 13:34:12 2016
@@ -1,6 +1,13 @@
 #! /bin/sh
 
-test -t 1 && test "$#" -eq 0 && exec > nodenames.h
+if [ -z "$1" ]; then
+	echo "Usage: $0 nodes.h" 1>&2
+	exit 1
+fi
+
+NODES=$1
+
+test -t 1 && exec > nodenames.h
 
 echo "#ifdef DEBUG"
 echo '
@@ -10,7 +17,7 @@ echo '
  */
 '
 
-MAX=$(awk < 

CVS commit: src/lib/libedit

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 18:13:21 UTC 2016

Modified Files:
src/lib/libedit: tty.c tty.h

Log Message:
PR/50863: John Hein: libedit el_end() messes up term settings if piped
Keep track if we initialized the tty, and only reset it if we did.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/lib/libedit/tty.c
cvs rdiff -u -r1.18 -r1.19 src/lib/libedit/tty.h

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

Modified files:

Index: src/lib/libedit/tty.c
diff -u src/lib/libedit/tty.c:1.57 src/lib/libedit/tty.c:1.58
--- src/lib/libedit/tty.c:1.57	Wed Feb 17 14:47:49 2016
+++ src/lib/libedit/tty.c	Sat Feb 27 13:13:21 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: tty.c,v 1.57 2016/02/17 19:47:49 christos Exp $	*/
+/*	$NetBSD: tty.c,v 1.58 2016/02/27 18:13:21 christos Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)tty.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: tty.c,v 1.57 2016/02/17 19:47:49 christos Exp $");
+__RCSID("$NetBSD: tty.c,v 1.58 2016/02/27 18:13:21 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -498,6 +498,7 @@ tty_setup(EditLine *el)
 {
 	int rst = 1;
 
+	el->el_tty.t_initialized = 0;
 	if (el->el_flags & EDIT_DISABLED)
 		return 0;
 
@@ -560,6 +561,7 @@ tty_setup(EditLine *el)
 
 	tty__setchar(>el_tty.t_ed, el->el_tty.t_c[ED_IO]);
 	tty_bind_char(el, 1);
+	el->el_tty.t_initialized = 1;
 	return 0;
 }
 
@@ -585,6 +587,9 @@ tty_end(EditLine *el)
 	if (el->el_flags & EDIT_DISABLED)
 		return;
 
+	if (el->el_tty.t_initialized)
+		return;
+
 	if (tty_setty(el, TCSAFLUSH, >el_tty.t_or) == -1) {
 #ifdef DEBUG_TTY
 		(void) fprintf(el->el_errfile,

Index: src/lib/libedit/tty.h
diff -u src/lib/libedit/tty.h:1.18 src/lib/libedit/tty.h:1.19
--- src/lib/libedit/tty.h:1.18	Tue Feb 16 10:53:48 2016
+++ src/lib/libedit/tty.h	Sat Feb 27 13:13:21 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: tty.h,v 1.18 2016/02/16 15:53:48 christos Exp $	*/
+/*	$NetBSD: tty.h,v 1.19 2016/02/27 18:13:21 christos Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -472,8 +472,9 @@ typedef struct {
 int t_tabs;
 int t_eight;
 speed_t t_speed;
-int t_mode;
+unsigned char t_mode;
 unsigned char t_vdisable;
+unsigned char t_initialized;
 } el_tty_t;
 
 



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Feb 27 17:03:59 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ehci.c

Log Message:
Why KASSERT when you can KASSERTMSG?wq


To generate a diff of this commit:
cvs rdiff -u -r1.234.2.89 -r1.234.2.90 src/sys/dev/usb/ehci.c

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

Modified files:

Index: src/sys/dev/usb/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.234.2.89 src/sys/dev/usb/ehci.c:1.234.2.90
--- src/sys/dev/usb/ehci.c:1.234.2.89	Sat Feb 27 16:53:22 2016
+++ src/sys/dev/usb/ehci.c	Sat Feb 27 17:03:58 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ehci.c,v 1.234.2.89 2016/02/27 16:53:22 skrll Exp $ */
+/*	$NetBSD: ehci.c,v 1.234.2.90 2016/02/27 17:03:58 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.89 2016/02/27 16:53:22 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.90 2016/02/27 17:03:58 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -1059,7 +1059,8 @@ ehci_idone(struct ehci_xfer *ex, ex_comp
 		USBHIST_LOGN(ehcidebug, 5, "--- dump end ---", 0, 0, 0, 0);
 	}
 #endif
-	KASSERT(!ex->ex_isdone);
+	KASSERTMSG(!ex->ex_isdone, "xfer %p type %d status %d", xfer,
+	ex->ex_type, xfer->ux_status);
 	ex->ex_isdone = true;
 #endif
 



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Feb 27 16:53:22 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ehci.c

Log Message:
Initialise ex_isrunning in ehci_device_isoc_init.  No real functional
change as the memory was zeroised.


To generate a diff of this commit:
cvs rdiff -u -r1.234.2.88 -r1.234.2.89 src/sys/dev/usb/ehci.c

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

Modified files:

Index: src/sys/dev/usb/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.234.2.88 src/sys/dev/usb/ehci.c:1.234.2.89
--- src/sys/dev/usb/ehci.c:1.234.2.88	Sun Feb 21 07:04:13 2016
+++ src/sys/dev/usb/ehci.c	Sat Feb 27 16:53:22 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ehci.c,v 1.234.2.88 2016/02/21 07:04:13 skrll Exp $ */
+/*	$NetBSD: ehci.c,v 1.234.2.89 2016/02/27 16:53:22 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.88 2016/02/21 07:04:13 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.89 2016/02/27 16:53:22 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -4720,6 +4720,7 @@ ehci_device_isoc_init(struct usbd_xfer *
 	KASSERT(exfer->ex_isdone);
 
 	exfer->ex_type = EX_ISOC;
+	exfer->ex_isrunning = false;
 
 	/*
 	 * Step 1: Allocate and initialize itds, how many do we need?



CVS commit: src/usr.sbin/acpitools/acpidump

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:40:22 UTC 2016

Modified Files:
src/usr.sbin/acpitools/acpidump: acpi.c

Log Message:
CID 1354301, 1354302, 1354303: Fix uninitialized variable.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/acpitools/acpidump/acpi.c

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

Modified files:

Index: src/usr.sbin/acpitools/acpidump/acpi.c
diff -u src/usr.sbin/acpitools/acpidump/acpi.c:1.14 src/usr.sbin/acpitools/acpidump/acpi.c:1.15
--- src/usr.sbin/acpitools/acpidump/acpi.c:1.14	Mon Feb  1 12:46:22 2016
+++ src/usr.sbin/acpitools/acpidump/acpi.c	Sat Feb 27 11:40:22 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.14 2016/02/01 17:46:22 christos Exp $ */
+/* $NetBSD: acpi.c,v 1.15 2016/02/27 16:40:22 christos Exp $ */
 
 /*-
  * Copyright (c) 1998 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include 
-__RCSID("$NetBSD: acpi.c,v 1.14 2016/02/01 17:46:22 christos Exp $");
+__RCSID("$NetBSD: acpi.c,v 1.15 2016/02/27 16:40:22 christos Exp $");
 
 #include 
 #include 
@@ -1950,7 +1950,7 @@ acpi_print_rsdt(ACPI_TABLE_HEADER *rsdp)
 	ACPI_TABLE_RSDT *rsdt;
 	ACPI_TABLE_XSDT *xsdt;
 	int	i, entries;
-	u_long	addr;
+	u_long	addr = 0;
 
 	rsdt = (ACPI_TABLE_RSDT *)rsdp;
 	xsdt = (ACPI_TABLE_XSDT *)rsdp;
@@ -1969,7 +1969,7 @@ acpi_print_rsdt(ACPI_TABLE_HEADER *rsdp)
 			addr = le64toh(xsdt->TableOffsetEntry[i]);
 			break;
 		default:
-			assert((addr == 0));
+			assert(addr == 0);
 		}
 		printf("0x%08lx", addr);
 	}
@@ -2219,7 +2219,7 @@ acpi_handle_rsdt(ACPI_TABLE_HEADER *rsdp
 	ACPI_TABLE_HEADER *sdp;
 	ACPI_TABLE_RSDT *rsdt;
 	ACPI_TABLE_XSDT *xsdt;
-	vm_offset_t addr;
+	vm_offset_t addr = 0;
 	int entries, i;
 
 	acpi_print_rsdt(rsdp);
@@ -2235,7 +2235,7 @@ acpi_handle_rsdt(ACPI_TABLE_HEADER *rsdp
 			addr = le64toh(xsdt->TableOffsetEntry[i]);
 			break;
 		default:
-			assert((addr == 0));
+			assert(addr == 0);
 		}
 
 		sdp = (ACPI_TABLE_HEADER *)acpi_map_sdt(addr);
@@ -2456,7 +2456,7 @@ sdt_from_rsdt(ACPI_TABLE_HEADER *rsdp, c
 	ACPI_TABLE_HEADER *sdt;
 	ACPI_TABLE_RSDT *rsdt;
 	ACPI_TABLE_XSDT *xsdt;
-	vm_offset_t addr;
+	vm_offset_t addr = 0;
 	int entries, i;
 
 	rsdt = (ACPI_TABLE_RSDT *)rsdp;
@@ -2471,7 +2471,7 @@ sdt_from_rsdt(ACPI_TABLE_HEADER *rsdp, c
 			addr = le64toh(xsdt->TableOffsetEntry[i]);
 			break;
 		default:
-			assert((addr == 0));
+			assert(addr == 0);
 		}
 		sdt = (ACPI_TABLE_HEADER *)acpi_map_sdt(addr);
 		if (last != NULL) {



CVS commit: src/usr.bin/ftp

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:31:31 UTC 2016

Modified Files:
src/usr.bin/ftp: cmds.c

Log Message:
CID 1354295: Array overrun.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/usr.bin/ftp/cmds.c

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

Modified files:

Index: src/usr.bin/ftp/cmds.c
diff -u src/usr.bin/ftp/cmds.c:1.136 src/usr.bin/ftp/cmds.c:1.137
--- src/usr.bin/ftp/cmds.c:1.136	Sat Feb  6 16:23:09 2016
+++ src/usr.bin/ftp/cmds.c	Sat Feb 27 11:31:31 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: cmds.c,v 1.136 2016/02/06 21:23:09 christos Exp $	*/
+/*	$NetBSD: cmds.c,v 1.137 2016/02/27 16:31:31 christos Exp $	*/
 
 /*-
  * Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
 #if 0
 static char sccsid[] = "@(#)cmds.c	8.6 (Berkeley) 10/9/94";
 #else
-__RCSID("$NetBSD: cmds.c,v 1.136 2016/02/06 21:23:09 christos Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.137 2016/02/27 16:31:31 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -1971,7 +1971,7 @@ dotrans(char *dst, size_t dlen, const ch
 		continue;
 	for (cp1 = src; *cp1; cp1++) {
 		int found = 0;
-		for (i = 0; ntin[i] && i < sizeof(ntin); i++) {
+		for (i = 0; i < sizeof(ntin) && ntin[i]; i++) {
 			if (*cp1 == ntin[i]) {
 found++;
 if (i < ostop) {



CVS commit: src/bin/sh

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:28:50 UTC 2016

Modified Files:
src/bin/sh: expand.c parser.c

Log Message:
remove useless casts


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/bin/sh/expand.c
cvs rdiff -u -r1.100 -r1.101 src/bin/sh/parser.c

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

Modified files:

Index: src/bin/sh/expand.c
diff -u src/bin/sh/expand.c:1.94 src/bin/sh/expand.c:1.95
--- src/bin/sh/expand.c:1.94	Mon Feb 22 15:02:00 2016
+++ src/bin/sh/expand.c	Sat Feb 27 11:28:50 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: expand.c,v 1.94 2016/02/22 20:02:00 christos Exp $	*/
+/*	$NetBSD: expand.c,v 1.95 2016/02/27 16:28:50 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)expand.c	8.5 (Berkeley) 5/15/95";
 #else
-__RCSID("$NetBSD: expand.c,v 1.94 2016/02/22 20:02:00 christos Exp $");
+__RCSID("$NetBSD: expand.c,v 1.95 2016/02/27 16:28:50 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -162,7 +162,7 @@ expandarg(union node *arg, struct arglis
 	} else {
 		if (flag & EXP_REDIR) /*XXX - for now, just remove escapes */
 			rmescapes(p);
-		sp = (struct strlist *)stalloc(sizeof (struct strlist));
+		sp = stalloc(sizeof(*sp));
 		sp->text = p;
 		*exparg.lastp = sp;
 		exparg.lastp = >next;
@@ -1002,7 +1002,7 @@ ifsbreakup(char *string, struct arglist 
 
 	if (ifslastp == NULL) {
 		/* Return entire argument, IFS doesn't apply to any of it */
-		sp = (struct strlist *)stalloc(sizeof *sp);
+		sp = stalloc(sizeof(*sp));
 		sp->text = start;
 		*arglist->lastp = sp;
 		arglist->lastp = >next;
@@ -1043,7 +1043,7 @@ ifsbreakup(char *string, struct arglist 
 
 			/* Save this argument... */
 			*q = '\0';
-			sp = (struct strlist *)stalloc(sizeof *sp);
+			sp = stalloc(sizeof(*sp));
 			sp->text = start;
 			*arglist->lastp = sp;
 			arglist->lastp = >next;
@@ -1077,7 +1077,7 @@ ifsbreakup(char *string, struct arglist 
 	 * should only generate one
 	 */
 	if (had_param_ch || *start != 0) {
-		sp = (struct strlist *)stalloc(sizeof *sp);
+		sp = stalloc(sizeof(*sp));
 		sp->text = start;
 		*arglist->lastp = sp;
 		arglist->lastp = >next;
@@ -1300,7 +1300,7 @@ addfname(char *name)
 
 	p = stalloc(strlen(name) + 1);
 	scopy(name, p);
-	sp = (struct strlist *)stalloc(sizeof *sp);
+	sp = stalloc(sizeof(*sp));
 	sp->text = p;
 	*exparg.lastp = sp;
 	exparg.lastp = >next;

Index: src/bin/sh/parser.c
diff -u src/bin/sh/parser.c:1.100 src/bin/sh/parser.c:1.101
--- src/bin/sh/parser.c:1.100	Sat Feb 27 11:23:22 2016
+++ src/bin/sh/parser.c	Sat Feb 27 11:28:50 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: parser.c,v 1.100 2016/02/27 16:23:22 christos Exp $	*/
+/*	$NetBSD: parser.c,v 1.101 2016/02/27 16:28:50 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)parser.c	8.7 (Berkeley) 5/16/95";
 #else
-__RCSID("$NetBSD: parser.c,v 1.100 2016/02/27 16:23:22 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.101 2016/02/27 16:28:50 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -169,7 +169,7 @@ list(int nlflag, int erflag)
 			} else if (n2->type == NREDIR) {
 n2->type = NBACKGND;
 			} else {
-n3 = (union node *)stalloc(sizeof (struct nredir));
+n3 = stalloc(sizeof(struct nredir));
 n3->type = NBACKGND;
 n3->nredir.n = n2;
 n3->nredir.redirect = NULL;
@@ -180,7 +180,7 @@ list(int nlflag, int erflag)
 			n1 = n2;
 		}
 		else {
-			n3 = (union node *)stalloc(sizeof (struct nbinary));
+			n3 = stalloc(sizeof(struct nbinary));
 			n3->type = NSEMI;
 			n3->nbinary.ch1 = n1;
 			n3->nbinary.ch2 = n2;
@@ -238,7 +238,7 @@ andor(void)
 			return n1;
 		}
 		n2 = pipeline();
-		n3 = (union node *)stalloc(sizeof (struct nbinary));
+		n3 = stalloc(sizeof(struct nbinary));
 		n3->type = t;
 		n3->nbinary.ch1 = n1;
 		n3->nbinary.ch2 = n2;
@@ -266,15 +266,15 @@ pipeline(void)
 	tokpushback++;
 	n1 = command();
 	if (readtoken() == TPIPE) {
-		pipenode = (union node *)stalloc(sizeof (struct npipe));
+		pipenode = stalloc(sizeof(struct npipe));
 		pipenode->type = NPIPE;
 		pipenode->npipe.backgnd = 0;
-		lp = (struct nodelist *)stalloc(sizeof (struct nodelist));
+		lp = stalloc(sizeof(struct nodelist));
 		pipenode->npipe.cmdlist = lp;
 		lp->n = n1;
 		do {
 			prev = lp;
-			lp = (struct nodelist *)stalloc(sizeof (struct nodelist));
+			lp = stalloc(sizeof(struct nodelist));
 			lp->n = command();
 			prev->next = lp;
 		} while (readtoken() == TPIPE);
@@ -284,7 +284,7 @@ pipeline(void)
 	tokpushback++;
 	if (negate) {
 		TRACE(("negate pipeline\n"));
-		n2 = (union node *)stalloc(sizeof (struct nnot));
+		n2 = stalloc(sizeof(struct nnot));
 		n2->type = NNOT;
 		n2->nnot.com = n1;
 		return n2;
@@ -326,7 +326,7 @@ command(void)
 
 	switch (readtoken()) {
 	case TIF:
-		n1 = (union node *)stalloc(sizeof (struct nif));
+		n1 = stalloc(sizeof(struct nif));
 		n1->type = 

CVS commit: src/bin/sh

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:23:22 UTC 2016

Modified Files:
src/bin/sh: parser.c

Log Message:
CID 1354293: handle EOF


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/bin/sh/parser.c

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

Modified files:

Index: src/bin/sh/parser.c
diff -u src/bin/sh/parser.c:1.99 src/bin/sh/parser.c:1.100
--- src/bin/sh/parser.c:1.99	Tue Feb 23 09:51:25 2016
+++ src/bin/sh/parser.c	Sat Feb 27 11:23:22 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: parser.c,v 1.99 2016/02/23 14:51:25 christos Exp $	*/
+/*	$NetBSD: parser.c,v 1.100 2016/02/27 16:23:22 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)parser.c	8.7 (Berkeley) 5/16/95";
 #else
-__RCSID("$NetBSD: parser.c,v 1.99 2016/02/23 14:51:25 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.100 2016/02/27 16:23:22 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -719,14 +719,17 @@ parseheredoc(void)
 	union node *n;
 
 	while (heredoclist) {
+		int c;
 		here = heredoclist;
 		heredoclist = here->next;
 		if (needprompt) {
 			setprompt(2);
 			needprompt = 0;
 		}
-		readtoken1(pgetc(), here->here->type == NHERE? SQSYNTAX : DQSYNTAX,
-here->eofmark, here->striptabs);
+		if ((c = pgetc()) == PEOF)
+			continue;
+		readtoken1(c, here->here->type == NHERE? SQSYNTAX : DQSYNTAX,
+		here->eofmark, here->striptabs);
 		n = (union node *)stalloc(sizeof (struct narg));
 		n->narg.type = NARG;
 		n->narg.next = NULL;



CVS commit: src/usr.bin/make

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:20:06 UTC 2016

Modified Files:
src/usr.bin/make: meta.c

Log Message:
CID 1025009: Fix wrong code (NULL deref)


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.bin/make/meta.c

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

Modified files:

Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.51 src/usr.bin/make/meta.c:1.52
--- src/usr.bin/make/meta.c:1.51	Sat Feb 27 11:18:47 2016
+++ src/usr.bin/make/meta.c	Sat Feb 27 11:20:06 2016
@@ -1,4 +1,4 @@
-/*  $NetBSD: meta.c,v 1.51 2016/02/27 16:18:47 christos Exp $ */
+/*  $NetBSD: meta.c,v 1.52 2016/02/27 16:20:06 christos Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -683,9 +683,9 @@ meta_job_error(Job *job, GNode *gn, int 
 
 if (job != NULL) {
 	pbm = >bm;
-} else {
 	if (!gn)
 	gn = job->node;
+} else {
 	pbm = 
 }
 if (pbm->mfp != NULL) {



CVS commit: src/usr.bin/make

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:17:26 UTC 2016

Modified Files:
src/usr.bin/make: meta.c

Log Message:
CID 1025007: Don't leak missingFiles


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/make/meta.c

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

Modified files:

Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.49 src/usr.bin/make/meta.c:1.50
--- src/usr.bin/make/meta.c:1.49	Sat Feb 27 11:14:23 2016
+++ src/usr.bin/make/meta.c	Sat Feb 27 11:17:26 2016
@@ -1,4 +1,4 @@
-/*  $NetBSD: meta.c,v 1.49 2016/02/27 16:14:23 christos Exp $ */
+/*  $NetBSD: meta.c,v 1.50 2016/02/27 16:17:26 christos Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -1368,7 +1368,6 @@ meta_oodate(GNode *gn, Boolean oodate)
 		fprintf(debug_file, "%s: missing files: %s...\n",
 			fname, (char *)Lst_Datum(Lst_First(missingFiles)));
 	oodate = TRUE;
-	Lst_Destroy(missingFiles, (FreeProc *)free);
 	}
 } else {
 	if ((gn->type & OP_META)) {
@@ -1377,6 +1376,9 @@ meta_oodate(GNode *gn, Boolean oodate)
 	oodate = TRUE;
 	}
 }
+
+Lst_Destroy(missingFiles, (FreeProc *)free);
+
 if (oodate && needOODATE) {
 	/*
 	 * Target uses .OODATE which is empty; or we wouldn't be here.



CVS commit: src/usr.bin/make

2016-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:14:23 UTC 2016

Modified Files:
src/usr.bin/make: meta.c

Log Message:
CID 1025006: pbm can't be NULL at this point.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/make/meta.c

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

Modified files:

Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.48 src/usr.bin/make/meta.c:1.49
--- src/usr.bin/make/meta.c:1.48	Fri Feb 26 19:13:21 2016
+++ src/usr.bin/make/meta.c	Sat Feb 27 11:14:23 2016
@@ -1,4 +1,4 @@
-/*  $NetBSD: meta.c,v 1.48 2016/02/27 00:13:21 sjg Exp $ */
+/*  $NetBSD: meta.c,v 1.49 2016/02/27 16:14:23 christos Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -697,7 +697,7 @@ meta_job_error(Job *job, GNode *gn, int 
 }
 getcwd(cwd, sizeof(cwd));
 Var_Set(".ERROR_CWD", cwd, VAR_GLOBAL, 0);
-if (pbm && pbm->meta_fname[0]) {
+if (pbm->meta_fname[0]) {
 	Var_Set(".ERROR_META_FILE", pbm->meta_fname, VAR_GLOBAL, 0);
 }
 meta_job_finish(job);



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Feb 27 16:07:02 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: uhci.c

Log Message:
In uhci_device_isoc_enter define

struct uhci_xfer *ux = UHCI_XFER2UXFER(xfer);

and use it.  No functionaly change.


To generate a diff of this commit:
cvs rdiff -u -r1.264.4.61 -r1.264.4.62 src/sys/dev/usb/uhci.c

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

Modified files:

Index: src/sys/dev/usb/uhci.c
diff -u src/sys/dev/usb/uhci.c:1.264.4.61 src/sys/dev/usb/uhci.c:1.264.4.62
--- src/sys/dev/usb/uhci.c:1.264.4.61	Tue Feb 16 21:17:27 2016
+++ src/sys/dev/usb/uhci.c	Sat Feb 27 16:07:01 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: uhci.c,v 1.264.4.61 2016/02/16 21:17:27 skrll Exp $	*/
+/*	$NetBSD: uhci.c,v 1.264.4.62 2016/02/27 16:07:01 skrll Exp $	*/
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.61 2016/02/16 21:17:27 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.62 2016/02/27 16:07:01 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -3035,6 +3035,7 @@ uhci_device_isoc_enter(struct usbd_xfer 
 {
 	uhci_softc_t *sc = UHCI_XFER2SC(xfer);
 	struct uhci_pipe *upipe = UHCI_PIPE2UPIPE(xfer->ux_pipe);
+	struct uhci_xfer *ux = UHCI_XFER2UXFER(xfer);
 	struct isoc *isoc = >isoc;
 	uhci_soft_td_t *std;
 	uint32_t buf, len, status, offs;
@@ -3067,7 +3068,7 @@ uhci_device_isoc_enter(struct usbd_xfer 
 	}
 
 	xfer->ux_status = USBD_IN_PROGRESS;
-	UHCI_XFER2UXFER(xfer)->ux_curframe = next;
+	ux->ux_curframe = next;
 
 	buf = DMAADDR(>ux_dmabuf, 0);
 	offs = 0;



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Feb 27 15:54:30 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Do the pipe sitd and loaning properly for isoc transfers


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.52 -r1.254.2.53 src/sys/dev/usb/ohci.c

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

Modified files:

Index: src/sys/dev/usb/ohci.c
diff -u src/sys/dev/usb/ohci.c:1.254.2.52 src/sys/dev/usb/ohci.c:1.254.2.53
--- src/sys/dev/usb/ohci.c:1.254.2.52	Sat Feb 27 15:48:36 2016
+++ src/sys/dev/usb/ohci.c	Sat Feb 27 15:54:30 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ohci.c,v 1.254.2.52 2016/02/27 15:48:36 skrll Exp $	*/
+/*	$NetBSD: ohci.c,v 1.254.2.53 2016/02/27 15:54:30 skrll Exp $	*/
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.52 2016/02/27 15:48:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.53 2016/02/27 15:54:30 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -3612,11 +3612,12 @@ ohci_device_isoc_enter(struct usbd_xfer 
 	struct ohci_pipe *opipe = OHCI_PIPE2OPIPE(xfer->ux_pipe);
 	ohci_softc_t *sc = OHCI_XFER2SC(xfer);
 	ohci_soft_ed_t *sed = opipe->sed;
-	ohci_soft_itd_t *sitd, *nsitd;
+	ohci_soft_itd_t *sitd, *nsitd, *tail;
 	ohci_physaddr_t buf, offs, noffs, bp0;
 	int i, ncur, nframes;
 
 	OHCIHIST_FUNC(); OHCIHIST_CALLED();
+	DPRINTFN(5, "xfer=%p", xfer, 0, 0, 0);
 
 	mutex_enter(>sc_lock);
 
@@ -3683,13 +3684,16 @@ ohci_device_isoc_enter(struct usbd_xfer 
 		sitd->itd.itd_offset[ncur] = HTOO16(OHCI_ITD_MK_OFFS(offs));
 		offs = noffs;
 	}
-	nsitd = ox->ox_sitds[j++];
-	KASSERT(nsitd != NULL);
 	KASSERT(j <= ox->ox_nsitd);
 
-	memset(>itd, 0, sizeof(nsitd->itd));
-	nsitd->nextitd = NULL;
-	nsitd->xfer = NULL;
+	/* point at sentinel */
+	tail = opipe->tail.itd;
+	memset(>itd, 0, sizeof(tail->itd));
+	tail->nextitd = NULL;
+ 	tail->xfer = NULL;
+	usb_syncmem(>dma, tail->offs, sizeof(tail->itd),
+	BUS_DMASYNC_PREWRITE);
+
 	/* Fixup last used ITD */
 	sitd->itd.itd_flags = HTOO32(
 		OHCI_ITD_NOCC |
@@ -3697,9 +3701,9 @@ ohci_device_isoc_enter(struct usbd_xfer 
 		OHCI_ITD_SET_DI(0) |
 		OHCI_ITD_SET_FC(ncur));
 	sitd->itd.itd_bp0 = HTOO32(bp0);
-	sitd->itd.itd_nextitd = HTOO32(nsitd->physaddr);
+	sitd->itd.itd_nextitd = HTOO32(tail->physaddr);
 	sitd->itd.itd_be = HTOO32(bp0 + offs - 1);
-	sitd->nextitd = nsitd;
+	sitd->nextitd = tail;
 	sitd->xfer = xfer;
 	sitd->flags = OHCI_CALL_DONE;
 #ifdef DIAGNOSTIC
@@ -3727,8 +3731,7 @@ ohci_device_isoc_enter(struct usbd_xfer 
 
 	usb_syncmem(>dma, sed->offs, sizeof(sed->ed),
 	BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD);
-	sed->ed.ed_tailp = HTOO32(nsitd->physaddr);
-	opipe->tail.itd = nsitd;
+	sed->ed.ed_tailp = HTOO32(tail->physaddr);
 	sed->ed.ed_flags &= HTOO32(~OHCI_ED_SKIP);
 	usb_syncmem(>dma, sed->offs + offsetof(ohci_ed_t, ed_flags),
 	sizeof(sed->ed.ed_flags),



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Feb 27 15:48:36 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
An std is "done" when it's not inflight.  Mark it done when it's first
allocated.


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.51 -r1.254.2.52 src/sys/dev/usb/ohci.c

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

Modified files:

Index: src/sys/dev/usb/ohci.c
diff -u src/sys/dev/usb/ohci.c:1.254.2.51 src/sys/dev/usb/ohci.c:1.254.2.52
--- src/sys/dev/usb/ohci.c:1.254.2.51	Sat Feb 27 15:47:18 2016
+++ src/sys/dev/usb/ohci.c	Sat Feb 27 15:48:36 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ohci.c,v 1.254.2.51 2016/02/27 15:47:18 skrll Exp $	*/
+/*	$NetBSD: ohci.c,v 1.254.2.52 2016/02/27 15:48:36 skrll Exp $	*/
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.51 2016/02/27 15:47:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.52 2016/02/27 15:48:36 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -795,7 +795,7 @@ ohci_alloc_sitd(ohci_softc_t *sc)
 	sitd->xfer = NULL;
 
 #ifdef DIAGNOSTIC
-	sitd->isdone = false;
+	sitd->isdone = true;
 #endif
 
 	return sitd;



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Feb 27 15:47:18 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Remove some blank lines


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.50 -r1.254.2.51 src/sys/dev/usb/ohci.c

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

Modified files:

Index: src/sys/dev/usb/ohci.c
diff -u src/sys/dev/usb/ohci.c:1.254.2.50 src/sys/dev/usb/ohci.c:1.254.2.51
--- src/sys/dev/usb/ohci.c:1.254.2.50	Sat Feb 27 15:44:05 2016
+++ src/sys/dev/usb/ohci.c	Sat Feb 27 15:47:18 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ohci.c,v 1.254.2.50 2016/02/27 15:44:05 skrll Exp $	*/
+/*	$NetBSD: ohci.c,v 1.254.2.51 2016/02/27 15:47:18 skrll Exp $	*/
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.50 2016/02/27 15:44:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.51 2016/02/27 15:47:18 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -2956,7 +2956,6 @@ ohci_device_ctrl_start(struct usbd_xfer 
 	usb_syncmem(>dma, tail->offs, sizeof(tail->td),
 	BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
 
-
 #ifdef OHCI_DEBUG
 	USBHIST_LOGN(ohcidebug, 5, "--- dump start ---", 0, 0, 0, 0);
 	if (ohcidebug >= 5) {
@@ -3715,7 +3714,6 @@ ohci_device_isoc_enter(struct usbd_xfer 
 
 	/* XXX pretend we did it all */
 	xfer->ux_actlen = offs;
-
 	xfer->ux_status = USBD_IN_PROGRESS;
 
 #ifdef OHCI_DEBUG



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Feb 27 15:44:05 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Comment on its own line


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.49 -r1.254.2.50 src/sys/dev/usb/ohci.c

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

Modified files:

Index: src/sys/dev/usb/ohci.c
diff -u src/sys/dev/usb/ohci.c:1.254.2.49 src/sys/dev/usb/ohci.c:1.254.2.50
--- src/sys/dev/usb/ohci.c:1.254.2.49	Thu Feb 25 12:52:09 2016
+++ src/sys/dev/usb/ohci.c	Sat Feb 27 15:44:05 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ohci.c,v 1.254.2.49 2016/02/25 12:52:09 skrll Exp $	*/
+/*	$NetBSD: ohci.c,v 1.254.2.50 2016/02/27 15:44:05 skrll Exp $	*/
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.49 2016/02/25 12:52:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.50 2016/02/27 15:44:05 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -1706,7 +1706,8 @@ ohci_device_intr_done(struct usbd_xfer *
 		ox->ox_stds[0] = data;
 		ohci_reset_std_chain(sc, xfer, len, isread, data, );
 
-		tail = opipe->tail.td;	/* point at sentinel */
+		/* point at sentinel */
+		tail = opipe->tail.td;
 		memset(>td, 0, sizeof(tail->td));
 		tail->nexttd = NULL;
 		tail->xfer = NULL;
@@ -2866,8 +2867,9 @@ ohci_device_ctrl_start(struct usbd_xfer 
 	ox->ox_setup = setup;
 
 	stat = ox->ox_stat;
-	tail = opipe->tail.td;	/* point at sentinel */
 
+	/* point at sentinel */
+	tail = opipe->tail.td;
 	sed = opipe->sed;
 
 	KASSERTMSG(OHCI_ED_GET_FA(O32TOH(sed->ed.ed_flags)) == dev->ud_addr,
@@ -3136,7 +3138,8 @@ ohci_device_bulk_start(struct usbd_xfer 
 	ox->ox_stds[0] = data;
 	ohci_reset_std_chain(sc, xfer, len, isread, data, );
 
-	tail = opipe->tail.td;	/* point at sentinel */
+	/* point at sentinel */
+	tail = opipe->tail.td;
 	memset(>td, 0, sizeof(tail->td));
 	tail->nexttd = NULL;
 	tail->xfer = NULL;
@@ -,7 +3336,8 @@ ohci_device_intr_start(struct usbd_xfer 
 	ox->ox_stds[0] = data;
 	ohci_reset_std_chain(sc, xfer, len, isread, data, );
 
-	tail = opipe->tail.td;	/* point at sentinel */
+	/* point at sentinel */
+	tail = opipe->tail.td;
 	memset(>td, 0, sizeof(tail->td));
 	tail->nexttd = NULL;
 	tail->xfer = NULL;



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

2016-02-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Feb 27 15:42:20 UTC 2016

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
no condition for cpu_rng here


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/arch/xen/conf/files.xen

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

Modified files:

Index: src/sys/arch/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.139 src/sys/arch/xen/conf/files.xen:1.140
--- src/sys/arch/xen/conf/files.xen:1.139	Sat Feb 27 14:28:50 2016
+++ src/sys/arch/xen/conf/files.xen	Sat Feb 27 15:42:20 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.139 2016/02/27 14:28:50 mlelstv Exp $
+#	$NetBSD: files.xen,v 1.140 2016/02/27 15:42:20 mlelstv Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -106,7 +106,7 @@ file	arch/xen/xen/evtchn.c
 
 file	arch/xen/xen/xengnt.c
 
-file	arch/x86/x86/cpu_rng.c		cpu
+file	arch/x86/x86/cpu_rng.c
 
 file	dev/cons.c
 



CVS commit: src/sys/kern

2016-02-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Feb 27 14:30:33 UTC 2016

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

Log Message:
Don't use CPU_RNG for rump kernels. So far there is no rump infrastructure
for this.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/kern/kern_rndq.c

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

Modified files:

Index: src/sys/kern/kern_rndq.c
diff -u src/sys/kern/kern_rndq.c:1.82 src/sys/kern/kern_rndq.c:1.83
--- src/sys/kern/kern_rndq.c:1.82	Sat Feb 27 00:09:45 2016
+++ src/sys/kern/kern_rndq.c	Sat Feb 27 14:30:33 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_rndq.c,v 1.82 2016/02/27 00:09:45 tls Exp $	*/
+/*	$NetBSD: kern_rndq.c,v 1.83 2016/02/27 14:30:33 mlelstv Exp $	*/
 
 /*-
  * Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.82 2016/02/27 00:09:45 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.83 2016/02/27 14:30:33 mlelstv Exp $");
 
 #include 
 #include 
@@ -59,7 +59,7 @@ __KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,
 #include 
 #endif
 
-#if defined(__HAVE_CPU_RNG)
+#if defined(__HAVE_CPU_RNG) && !defined(_RUMPKERNEL)
 #include 
 #endif
 
@@ -405,7 +405,7 @@ rnd_dv_estimate(krndsource_t *rs, uint32
 	return ret;
 }
 
-#if defined(__HAVE_CPU_RNG)
+#if defined(__HAVE_CPU_RNG) && !defined(_RUMPKERNEL)
 static struct {
 	kmutex_t	lock;	/* unfortunately, must protect krndsource */
 	krndsource_t	source;
@@ -588,7 +588,7 @@ rnd_init(void)
 	/*
 	 * Attach CPU RNG if available.
 	 */
-#if defined(__HAVE_CPU_RNG)
+#if defined(__HAVE_CPU_RNG) && !defined(_RUMPKERNEL)
 	if (cpu_rng_init()) {
 		/* IPL_VM because taken while rnd_global.lock is held.  */
 		mutex_init(_cpu.lock, MUTEX_DEFAULT, IPL_VM);



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

2016-02-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Feb 27 14:28:50 UTC 2016

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
add missing cpu_rng.c to kernel


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/arch/xen/conf/files.xen

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

Modified files:

Index: src/sys/arch/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.138 src/sys/arch/xen/conf/files.xen:1.139
--- src/sys/arch/xen/conf/files.xen:1.138	Wed Nov 11 08:51:33 2015
+++ src/sys/arch/xen/conf/files.xen	Sat Feb 27 14:28:50 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.138 2015/11/11 08:51:33 skrll Exp $
+#	$NetBSD: files.xen,v 1.139 2016/02/27 14:28:50 mlelstv Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -106,6 +106,8 @@ file	arch/xen/xen/evtchn.c
 
 file	arch/xen/xen/xengnt.c
 
+file	arch/x86/x86/cpu_rng.c		cpu
+
 file	dev/cons.c
 
 



CVS commit: src/distrib/sets/lists/comp

2016-02-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Feb 27 14:27:01 UTC 2016

Modified Files:
src/distrib/sets/lists/comp: md.amd64 md.i386

Log Message:
add missing cpu_rng.h includes


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.154 -r1.155 src/distrib/sets/lists/comp/md.i386

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

Modified files:

Index: src/distrib/sets/lists/comp/md.amd64
diff -u src/distrib/sets/lists/comp/md.amd64:1.234 src/distrib/sets/lists/comp/md.amd64:1.235
--- src/distrib/sets/lists/comp/md.amd64:1.234	Sun Jan 31 18:41:36 2016
+++ src/distrib/sets/lists/comp/md.amd64	Sat Feb 27 14:27:01 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.234 2016/01/31 18:41:36 christos Exp $
+# $NetBSD: md.amd64,v 1.235 2016/02/27 14:27:01 mlelstv Exp $
 
 ./usr/include/amd64comp-c-include
 ./usr/include/amd64/ansi.h			comp-c-include
@@ -12,6 +12,7 @@
 ./usr/include/amd64/byte_swap.h			comp-c-include
 ./usr/include/amd64/cdefs.h			comp-c-include
 ./usr/include/amd64/cpu.h			comp-c-include
+./usr/include/amd64/cpu_rng.h			comp-c-include
 ./usr/include/amd64/cpufunc.h			comp-c-obsolete		obsolete
 ./usr/include/amd64/disklabel.h			comp-c-include
 ./usr/include/amd64/elf_machdep.h		comp-c-include
@@ -253,6 +254,7 @@
 ./usr/include/i386/byte_swap.h			comp-c-include
 ./usr/include/i386/cdefs.h			comp-c-include
 ./usr/include/i386/cpu.h			comp-c-include
+./usr/include/i386/cpu_rng.h			comp-c-include
 ./usr/include/i386/cpufunc.h			comp-c-obsolete		obsolete
 ./usr/include/i386/cputypes.h			comp-c-include
 ./usr/include/i386/disklabel.h			comp-c-include
@@ -384,6 +386,7 @@
 ./usr/include/x86/cacheinfo.h			comp-c-include
 ./usr/include/x86/cpu.hcomp-c-include
 ./usr/include/x86/cpu_extended_state.h		comp-c-include
+./usr/include/x86/cpu_rng.h			comp-c-include
 ./usr/include/x86/cpu_ucode.h			comp-c-include
 ./usr/include/x86/cputypes.h			comp-c-include
 ./usr/include/x86/cpuvar.h			comp-c-include

Index: src/distrib/sets/lists/comp/md.i386
diff -u src/distrib/sets/lists/comp/md.i386:1.154 src/distrib/sets/lists/comp/md.i386:1.155
--- src/distrib/sets/lists/comp/md.i386:1.154	Mon Aug 10 03:21:44 2015
+++ src/distrib/sets/lists/comp/md.i386	Sat Feb 27 14:27:01 2016
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.154 2015/08/10 03:21:44 mrg Exp $
+# $NetBSD: md.i386,v 1.155 2016/02/27 14:27:01 mlelstv Exp $
 ./usr/include/clang-3.4/__wmmintrin_aes.h	comp-obsolete		obsolete
 ./usr/include/clang-3.4/__wmmintrin_pclmul.h	comp-obsolete		obsolete
 ./usr/include/clang-3.4/ammintrin.h		comp-obsolete		obsolete
@@ -182,6 +182,7 @@
 ./usr/include/i386/cdefs.h			comp-c-include
 ./usr/include/i386/conf.h			comp-obsolete		obsolete
 ./usr/include/i386/cpu.h			comp-c-include
+./usr/include/i386/cpu_rng.h			comp-c-include
 ./usr/include/i386/cpufunc.h			comp-c-obsolete		obsolete
 ./usr/include/i386/cputypes.h			comp-c-include
 ./usr/include/i386/db_machdep.h			comp-obsolete		obsolete
@@ -259,6 +260,7 @@
 ./usr/include/x86/cacheinfo.h			comp-c-include
 ./usr/include/x86/cpu.hcomp-c-include
 ./usr/include/x86/cpu_extended_state.h		comp-c-include
+./usr/include/x86/cpu_rng.h			comp-c-include
 ./usr/include/x86/cpu_ucode.h			comp-c-include
 ./usr/include/x86/cputypes.h			comp-c-include
 ./usr/include/x86/cpuvar.h			comp-c-include



CVS commit: src/sys/dev

2016-02-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Feb 27 08:54:49 UTC 2016

Modified Files:
src/sys/dev: ld.c

Log Message:
dk_ioctl already calls disk_ioctl.
Remove redundant return statement for a void function.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/ld.c

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

Modified files:

Index: src/sys/dev/ld.c
diff -u src/sys/dev/ld.c:1.93 src/sys/dev/ld.c:1.94
--- src/sys/dev/ld.c:1.93	Fri Aug 28 17:41:49 2015
+++ src/sys/dev/ld.c	Sat Feb 27 08:54:49 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ld.c,v 1.93 2015/08/28 17:41:49 mlelstv Exp $	*/
+/*	$NetBSD: ld.c,v 1.94 2016/02/27 08:54:49 mlelstv Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.93 2015/08/28 17:41:49 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.94 2016/02/27 08:54:49 mlelstv Exp $");
 
 #include 
 #include 
@@ -353,10 +353,6 @@ ldioctl(dev_t dev, u_long cmd, void *add
 	sc = device_lookup_private(_cd, unit);
 	dksc = >sc_dksc;
 
-	error = disk_ioctl(>sc_dkdev, dev, cmd, addr, flag, l);
-	if (error != EPASSTHROUGH)
-		return (error);
-
 	error = dk_ioctl(dksc, dev, cmd, addr, flag, l);
 	if (error != EPASSTHROUGH)
 		return (error);
@@ -395,7 +391,7 @@ ldstrategy(struct buf *bp)
 	sc = device_lookup_private(_cd, unit);
 	dksc = >sc_dksc;
 
-	return dk_strategy(dksc, bp);
+	dk_strategy(dksc, bp);
 }
 
 static int