svn commit: r212751 - in vendor/llvm/dist: . Xcode autoconf/m4 docs docs/CommandGuide docs/tutorial include/llvm/ADT include/llvm/Support runtime/libprofile utils/valgrind win32

2010-09-16 Thread Dimitry Andric
Author: dim Date: Thu Sep 16 17:02:26 2010 New Revision: 212751 URL: http://svn.freebsd.org/changeset/base/212751 Log: Make vendor/llvm/dist exactly the same as upstream's r108428. Some files and directories were already removed in the upstream repository, but were not removed here, when th

svn commit: r212752 - vendor/llvm/llvm-r108428

2010-09-16 Thread Dimitry Andric
Author: dim Date: Thu Sep 16 17:06:42 2010 New Revision: 212752 URL: http://svn.freebsd.org/changeset/base/212752 Log: Prepare to re-tag llvm r108428, by removing the previous tag. Approved by: rpaulo (mentor) Deleted: vendor/llvm/llvm-r108428/ __

svn commit: r212753 - vendor/llvm/llvm-r108428

2010-09-16 Thread Dimitry Andric
Author: dim Date: Thu Sep 16 17:08:46 2010 New Revision: 212753 URL: http://svn.freebsd.org/changeset/base/212753 Log: Re-tag llvm r108428. Approved by: rpaulo (mentor) Added: vendor/llvm/llvm-r108428/ - copied from r212752, vendor/llvm/dist/ ___

svn commit: r212766 - in vendor/clang/dist: . docs include/clang/AST lib/Headers tools/CIndex tools/index-test utils win32 www/analyzer

2010-09-16 Thread Dimitry Andric
Author: dim Date: Thu Sep 16 21:14:28 2010 New Revision: 212766 URL: http://svn.freebsd.org/changeset/base/212766 Log: Make vendor/clang/dist exactly the same as upstream's r108428. Some files and directories were already added/removed in the upstream repository, but were not added/removed

svn commit: r212767 - vendor/clang/clang-r108428

2010-09-16 Thread Dimitry Andric
Author: dim Date: Thu Sep 16 21:16:55 2010 New Revision: 212767 URL: http://svn.freebsd.org/changeset/base/212767 Log: Prepare to re-tag clang r108428, by removing the previous tag. Approved by: rpaulo (mentor) Deleted: vendor/clang/clang-r108428/ ___

svn commit: r212768 - vendor/clang/clang-r108428

2010-09-16 Thread Dimitry Andric
Author: dim Date: Thu Sep 16 21:18:25 2010 New Revision: 212768 URL: http://svn.freebsd.org/changeset/base/212768 Log: Re-tag clang r108428. Approved by: rpaulo (mentor) Added: vendor/clang/clang-r108428/ - copied from r212767, vendor/clang/dist/ ___

svn commit: r212792 - svnadmin/conf

2010-09-17 Thread Dimitry Andric
Author: dim Date: Fri Sep 17 15:44:32 2010 New Revision: 212792 URL: http://svn.freebsd.org/changeset/base/212792 Log: Temporarily raise my limit, so I can import new llvm and clang snapshots. Approved-by: rpaulo (mentor) Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf

svn commit: r212794 - vendor/llvm/llvm-r114020

2010-09-17 Thread Dimitry Andric
Author: dim Date: Fri Sep 17 15:50:59 2010 New Revision: 212794 URL: http://svn.freebsd.org/changeset/base/212794 Log: Tag llvm r114020. Approved by: rpaulo (mentor) Added: vendor/llvm/llvm-r114020/ - copied from r212793, vendor/llvm/dist/ __

svn commit: r212796 - vendor/clang/clang-r114020

2010-09-17 Thread Dimitry Andric
Author: dim Date: Fri Sep 17 15:56:19 2010 New Revision: 212796 URL: http://svn.freebsd.org/changeset/base/212796 Log: Tag clang r114020. Approved by: rpaulo (mentor) Added: vendor/clang/clang-r114020/ - copied from r212795, vendor/clang/dist/ __

svn commit: r212797 - svnadmin/conf

2010-09-17 Thread Dimitry Andric
Author: dim Date: Fri Sep 17 15:58:05 2010 New Revision: 212797 URL: http://svn.freebsd.org/changeset/base/212797 Log: Remove my size limit again, as I am done importing llvm & clang. Approved-by: rpaulo (mentor) Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.

svn commit: r212847 - in head/lib/clang: libllvmarmasmparser libllvmarminfo libllvmbitreader libllvminstcombine libllvmmipsinfo libllvmpowerpcinfo libllvmx86asmparser libllvmx86info

2010-09-19 Thread Dimitry Andric
Author: dim Date: Sun Sep 19 10:54:58 2010 New Revision: 212847 URL: http://svn.freebsd.org/changeset/base/212847 Log: In all Makefiles under lib/clang, consistently use tabs instead of spaces after the '=' sign in macro assignments. Approved-by: rpaulo (mentor) Modified: head/lib/cla

svn commit: r212979 - in head: gnu/lib/libobjc sys/boot/i386/boot2 sys/boot/pc98/boot2

2010-09-21 Thread Dimitry Andric
Author: dim Date: Tue Sep 21 21:41:45 2010 New Revision: 212979 URL: http://svn.freebsd.org/changeset/base/212979 Log: When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2 and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile flags are sometimes passed

svn commit: r213224 - in head/usr.bin/clang: clang tblgen

2010-09-27 Thread Dimitry Andric
Author: dim Date: Mon Sep 27 19:03:18 2010 New Revision: 213224 URL: http://svn.freebsd.org/changeset/base/213224 Log: Add manpages for clang and tblgen. These were generated from upstream's tools/clang/docs/tools/clang.pod and docs/CommandGuide/tblgen.pod, respectively. Approved-by:

svn commit: r213281 - head/lib/libc/amd64/gen

2010-09-29 Thread Dimitry Andric
Author: dim Date: Wed Sep 29 21:20:29 2010 New Revision: 213281 URL: http://svn.freebsd.org/changeset/base/213281 Log: Apply the same workaround for clang to amd64's version of ldexp.c (as in r212976): order the incoming arguments to fscale as st(0), st(1), and mark temp2 volatile (only in c

Re: svn commit: r213281 - head/lib/libc/amd64/gen

2010-09-30 Thread Dimitry Andric
On 2010-09-30 05:46, Bruce Evans wrote: ... This file probably shouldn't exist, especially on amd64. There are 4 or 5 versions of ldexp(), and this file implements what seems to be the worst one, even without the bug. First, it shouldn't exist since it is a libm function. It exists for the his

svn commit: r213308 - in head/lib/libc: amd64/gen i386/gen

2010-09-30 Thread Dimitry Andric
Author: dim Date: Thu Sep 30 19:20:21 2010 New Revision: 213308 URL: http://svn.freebsd.org/changeset/base/213308 Log: Retire the amd64 and i386 specific inline assembly versions of ldexp.c, as they are slower than the generic version in C, at least on modern hardware. This leaves us with j

Re: svn commit: r213326 - head/lib/libc/i386/string

2010-10-01 Thread Dimitry Andric
On 2010-10-01 15:22, Roman Divacky wrote: there's "rep cmps" in bcmp.S and memcmp.S in both amd64/i386 they both have C counterparts, no idea how fast those are (they are going char by char). does this wisdom apply to those too? Well, these versions compare by words first, using "repe cmpsl"

svn commit: r213337 - in head/lib/msun: amd64 i387

2010-10-01 Thread Dimitry Andric
Author: dim Date: Fri Oct 1 20:14:36 2010 New Revision: 213337 URL: http://svn.freebsd.org/changeset/base/213337 Log: Use __FBSDID() instead of RCSID() in most .S files under lib/msun/i386, and one under lib/msun/amd64. This avoids adding the identifiers to the .text section, and moves the

Re: svn commit: r212979 - in head: gnu/lib/libobjc sys/boot/i386/boot2 sys/boot/pc98/boot2

2010-10-01 Thread Dimitry Andric
On 2010-10-01 19:54, Anonymous wrote: -.if ${CC:T:Mclang} == "clang" -CC=gcc -.endif +CC:=${CC:C/^(.*\/)?clang$/gcc/1} How about clearing some user-defined variable together with the substitution CLANG_FLAGS = # set to empty value CC := ${CC:C/^(.*\/)?clang$/gcc/1} in which user can sto

svn commit: r213358 - in head/contrib/llvm: tools/llvm2cpp tools/llvmc/driver tools/llvmc/example tools/llvmc/examples tools/llvmc/plugins utils/lit/ExampleTests utils/lit/ExampleTests.ObjDir utils...

2010-10-02 Thread Dimitry Andric
Author: dim Date: Sat Oct 2 11:45:18 2010 New Revision: 213358 URL: http://svn.freebsd.org/changeset/base/213358 Log: Cleanup some example and empty directories that were left around after the last import of contrib/llvm. Suggested by: obrien Approved by: rpaulo (mentor) Deleted: h

Re: svn commit: r213391 - in head: gnu/usr.bin usr.bin

2010-10-03 Thread Dimitry Andric
On 2010-10-04 00:24, Gordon Tetlow wrote: Author: gordon Date: Sun Oct 3 22:24:14 2010 New Revision: 213391 URL: http://svn.freebsd.org/changeset/base/213391 Log: Retire GNU man in favor of the newly written BSDL version. And there was much rejoicing. :) ___

svn commit: r213412 - head/lib/libvgl

2010-10-04 Thread Dimitry Andric
Author: dim Date: Mon Oct 4 18:16:38 2010 New Revision: 213412 URL: http://svn.freebsd.org/changeset/base/213412 Log: Change libvgl's set4pixels() and set2lines() functions from plain 'inline' to 'static inline'. Otherwise, a C99 compiler (such as clang) will output an undefined symbol for

svn commit: r213492 - head/contrib/llvm/tools/clang/lib/Driver

2010-10-06 Thread Dimitry Andric
Author: dim Date: Wed Oct 6 20:35:07 2010 New Revision: 213492 URL: http://svn.freebsd.org/changeset/base/213492 Log: Apply r207674 from the clangbsd project branch: Make "clang -print-multi-os-directory" return "." on amd64, matching gcc's behaviour. This is needed because some ports u

svn commit: r213518 - in vendor/llvm/dist: . autoconf docs include/llvm/ADT lib/CodeGen lib/Target/ARM lib/Target/X86

2010-10-07 Thread Dimitry Andric
Author: dim Date: Thu Oct 7 16:32:35 2010 New Revision: 213518 URL: http://svn.freebsd.org/changeset/base/213518 Log: Vendor import of llvm 2.8 release: http://llvm.org/svn/llvm-project/llvm/tags/release...@115866 Approved by: rpaulo (mentor) Modified: vendor/llvm/dist/Makefile.rules

svn commit: r213519 - vendor/llvm/llvm-2.8

2010-10-07 Thread Dimitry Andric
Author: dim Date: Thu Oct 7 16:34:12 2010 New Revision: 213519 URL: http://svn.freebsd.org/changeset/base/213519 Log: Tag llvm 2.8 release. Approved by: rpaulo (mentor) Added: vendor/llvm/llvm-2.8/ - copied from r213518, vendor/llvm/dist/ __

svn commit: r213520 - vendor/clang/dist/lib/Basic

2010-10-07 Thread Dimitry Andric
Author: dim Date: Thu Oct 7 16:35:05 2010 New Revision: 213520 URL: http://svn.freebsd.org/changeset/base/213520 Log: Vendor import of clang 2.8 release: http://llvm.org/svn/llvm-project/cfe/tags/release...@115870 Approved by: rpaulo (mentor) Modified: vendor/clang/dist/lib/Basic/Ver

svn commit: r213521 - vendor/clang/clang-2.8

2010-10-07 Thread Dimitry Andric
Author: dim Date: Thu Oct 7 16:35:50 2010 New Revision: 213521 URL: http://svn.freebsd.org/changeset/base/213521 Log: Tag clang 2.8 release. Approved by: rpaulo (mentor) Added: vendor/clang/clang-2.8/ - copied from r213520, vendor/clang/dist/ __

svn commit: r213534 - in head: contrib/llvm contrib/llvm/autoconf contrib/llvm/include/llvm/ADT contrib/llvm/lib/CodeGen contrib/llvm/lib/Target/ARM contrib/llvm/lib/Target/X86 contrib/llvm/tools/c...

2010-10-07 Thread Dimitry Andric
Author: dim Date: Thu Oct 7 20:31:07 2010 New Revision: 213534 URL: http://svn.freebsd.org/changeset/base/213534 Log: Upgrade Clang and LLVM to the 2.8 release. See here for release notes: http://llvm.org/releases/2.8/docs/ReleaseNotes.html Approved by: rpaulo (mentor) Modified: hea

svn commit: r213620 - head/usr.bin/netstat

2010-10-08 Thread Dimitry Andric
Author: dim Date: Fri Oct 8 20:40:05 2010 New Revision: 213620 URL: http://svn.freebsd.org/changeset/base/213620 Log: Remove superfluous cast in usr.bin/netstat/sctp.c. Found by: clang Submitted by: Norberto Lopes, nlopes dot ml at gmail dot com Approved by: rpaulo (mentor) Modif

svn commit: r213695 - in head/contrib/llvm: . autoconf bindings include/llvm include/llvm/Config include/llvm/System lib lib/Analysis lib/Analysis/IPA lib/Archive lib/AsmParser lib/Bitcode lib/Bitc...

2010-10-11 Thread Dimitry Andric
Author: dim Date: Mon Oct 11 17:22:16 2010 New Revision: 213695 URL: http://svn.freebsd.org/changeset/base/213695 Log: Remove more unneeded files and directories from contrib/llvm. This still allows us to build tblgen and clang, and further reduces the footprint in the tree. Approved b

svn commit: r213797 - head/sys/crypto/aesni

2010-10-13 Thread Dimitry Andric
Author: dim Date: Wed Oct 13 17:55:53 2010 New Revision: 213797 URL: http://svn.freebsd.org/changeset/base/213797 Log: Change two missed instances of 'retq' in aeskeys_i386.S to 'retl', which makes it possible to assemble this file with gas from newer binutils. Reviewed by: kib Modified

Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-14 Thread Dimitry Andric
On 2010-10-14 21:39, John Baldwin wrote: On Thursday, October 14, 2010 3:19:19 pm Rui Paulo wrote: ... Revert r213765. This is required because our build infrastructure uses the host lex instead of the lex built during buildworld. I will MFC the lex changes soon and in a few weeks this

svn commit: r213906 - head/lib/csu/ia64

2010-10-15 Thread Dimitry Andric
Author: dim Date: Fri Oct 15 21:40:20 2010 New Revision: 213906 URL: http://svn.freebsd.org/changeset/base/213906 Log: Remove two .endp's without matching .proc in lib/csu/ia64/crtn.S. This allows it to assemble with newer binutils. Reviewed by: marcel Modified: head/lib/csu/ia64/crtn

svn commit: r213989 - head/contrib/binutils

2010-10-17 Thread Dimitry Andric
Author: dim Date: Sun Oct 17 18:49:45 2010 New Revision: 213989 URL: http://svn.freebsd.org/changeset/base/213989 Log: Bootstrap merge history for binutils. Modified: Directory Properties: head/contrib/binutils/ (props changed) ___ svn-src-all@fre

svn commit: r213991 - vendor/binutils/2.15-r191844-obrien

2010-10-17 Thread Dimitry Andric
Author: dim Date: Sun Oct 17 19:03:23 2010 New Revision: 213991 URL: http://svn.freebsd.org/changeset/base/213991 Log: Tag vendor/binutils/dist, as it existed at r191844. Added: vendor/binutils/2.15-r191844-obrien/ - copied from r213990, vendor/binutils/dist/

svn commit: r213995 - svnadmin/conf

2010-10-17 Thread Dimitry Andric
Author: dim Date: Sun Oct 17 21:44:27 2010 New Revision: 213995 URL: http://svn.freebsd.org/changeset/base/213995 Log: Temporarily raise my limit, so I can import binutils snapshots. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ===

svn commit: r213997 - vendor/binutils/binutils-2_15-branch-20040523-044032

2010-10-17 Thread Dimitry Andric
Author: dim Date: Sun Oct 17 22:03:05 2010 New Revision: 213997 URL: http://svn.freebsd.org/changeset/base/213997 Log: Tag the binutils-2_15-branch from the sourceware CVS repository, exactly as it was on Sun, 23 May 2004 04:40:32 +. Corresponds to git commit 242eda977694c559d7d216267

svn commit: r213998 - svnadmin/conf

2010-10-17 Thread Dimitry Andric
Author: dim Date: Sun Oct 17 22:10:33 2010 New Revision: 213998 URL: http://svn.freebsd.org/changeset/base/213998 Log: Back down to normal limit. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r214033 - in vendor/binutils/dist: bfd gas gas/config gas/testsuite gas/testsuite/gas/cfi gas/testsuite/gas/i386 gas/testsuite/gas/mips gas/testsuite/gas/ppc include/opcode ld ld/emulpa...

2010-10-18 Thread Dimitry Andric
Author: dim Date: Mon Oct 18 21:20:10 2010 New Revision: 214033 URL: http://svn.freebsd.org/changeset/base/214033 Log: Import the binutils-2_15-branch from the sourceware CVS repository, exactly as it was on Wed, 8 Jun 2005 15:34:48 +. Corresponds to git commit 7e01d69a19a8fd079887f26

svn commit: r214034 - vendor/binutils/binutils-2_15-branch-20050608-153448

2010-10-18 Thread Dimitry Andric
Author: dim Date: Mon Oct 18 21:21:57 2010 New Revision: 214034 URL: http://svn.freebsd.org/changeset/base/214034 Log: Tag the binutils-2_15-branch from the sourceware CVS repository, exactly as it was on Wed, 8 Jun 2005 15:34:48 +. Corresponds to git commit 7e01d69a19a8fd079887f26853

Re: svn commit: r214033 - in vendor/binutils/dist: bfd gas gas/config gas/testsuite gas/testsuite/gas/cfi gas/testsuite/gas/i386 gas/testsuite/gas/mips gas/testsuite/gas/ppc include/opcode ld ld/emulp

2010-10-18 Thread Dimitry Andric
On 2010-10-18 23:35, Marius Strobl wrote: I thought the last GPLv2 version was something like binutils 2.17 and the plan still was to update to that? Yes, after this one I will start importing 2.17 (which is indeed the last GPLv2 version), probably tomorrow. First I need to check various thing

Re: svn commit: r214033 - in vendor/binutils/dist: bfd gas gas/config gas/testsuite gas/testsuite/gas/cfi gas/testsuite/gas/i386 gas/testsuite/gas/mips gas/testsuite/gas/ppc include/opcode ld ld/emulp

2010-10-18 Thread Dimitry Andric
On 2010-10-18 23:47, Doug Barton wrote: This may be a good thing to request a pointyhat run for as well. Please note, this is *not* going into head yet, but into a project branch for now (projects/binutils-2.17). There it will have to prove itself first... :) __

svn commit: r214081 - svnadmin/conf

2010-10-19 Thread Dimitry Andric
Author: dim Date: Tue Oct 19 21:07:34 2010 New Revision: 214081 URL: http://svn.freebsd.org/changeset/base/214081 Log: Temporarily raise my limit, so I can import another binutils snapshot. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r214083 - svnadmin/conf

2010-10-19 Thread Dimitry Andric
Author: dim Date: Tue Oct 19 21:29:22 2010 New Revision: 214083 URL: http://svn.freebsd.org/changeset/base/214083 Log: Back down to normal limit. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r214098 - vendor/binutils/binutils-2_17-branch-20070807-000013

2010-10-19 Thread Dimitry Andric
Author: dim Date: Wed Oct 20 06:38:54 2010 New Revision: 214098 URL: http://svn.freebsd.org/changeset/base/214098 Log: Tag the binutils-2_17-branch from the sourceware CVS repository, exactly as it was on Tue, 7 Aug 2007 00:00:13 +. Corresponds to git commit b458c361f01f7a257f897d0961

Re: svn commit: r214210 - head/sys/boot/i386/boot2

2010-10-22 Thread Dimitry Andric
On 2010-10-22 20:46, Warner Losh wrote: Avoid using memcpy() for copying 32bit chunks. This shrinks the resulting code a little. I think I put the memcpy code in when I was porting to ARM to reduce the diffs since it is needed there... Due to alignment problems otherwise? __

Re: svn commit: r214380 - head/sys/x86/x86

2010-10-26 Thread Dimitry Andric
On 2010-10-26 18:16, Attilio Rao wrote: Remove usage of PRI* macro for style compliancy. ... - printf(" chunk %d: %"PRIu64"MB (%"PRIu64" pages)", seqnr, PG2MB(pgs), - pgs); + printf(" chunk %d: %jdMB (%jd pages)", seqnr, (uintmax_t)PG2MB(pgs), + (uintmax_t)p

svn commit: r214539 - head/lib/libpcap

2010-10-29 Thread Dimitry Andric
Author: dim Date: Fri Oct 29 22:57:14 2010 New Revision: 214539 URL: http://svn.freebsd.org/changeset/base/214539 Log: Regenerate our lib/libpcap/config.h for libpcap 1.1.1. Modified: head/lib/libpcap/config.h Modified: head/lib/libpcap/config.h ==

svn commit: r214559 - head/usr.sbin/tcpdump/tcpdump

2010-10-30 Thread Dimitry Andric
Author: dim Date: Sat Oct 30 16:25:08 2010 New Revision: 214559 URL: http://svn.freebsd.org/changeset/base/214559 Log: Regenerate our usr.sbin/tcpdump/tcpdump/config.h for tcpdump 4.1.1, and remove unused HAVE_RC5_H and HAVE_CAST_H defines from CFLAGS. Modified: head/usr.sbin/tcpdump/tcpdum

svn commit: r214560 - head/usr.sbin/tcpdump/tcpdump

2010-10-30 Thread Dimitry Andric
Author: dim Date: Sat Oct 30 16:30:50 2010 New Revision: 214560 URL: http://svn.freebsd.org/changeset/base/214560 Log: Actually remove the HAVE_CAST_H define this time. Modified: head/usr.sbin/tcpdump/tcpdump/Makefile Modified: head/usr.sbin/tcpdump/tcpdump/Makefile =

svn commit: r214570 - svnadmin/conf

2010-10-30 Thread Dimitry Andric
Author: dim Date: Sat Oct 30 23:01:11 2010 New Revision: 214570 URL: http://svn.freebsd.org/changeset/base/214570 Log: Temporarily raise my limit, so I can import another binutils snapshot. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r214572 - svnadmin/conf

2010-10-30 Thread Dimitry Andric
Author: dim Date: Sat Oct 30 23:03:32 2010 New Revision: 214572 URL: http://svn.freebsd.org/changeset/base/214572 Log: Back down to normal limit. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r214573 - vendor/binutils/binutils-master-20070703-075419

2010-10-30 Thread Dimitry Andric
Author: dim Date: Sat Oct 30 23:04:54 2010 New Revision: 214573 URL: http://svn.freebsd.org/changeset/base/214573 Log: Tag the binutils master branch from the sourceware CVS repository, exactly as it was on Tue, 3 Jul 2007 07:54:19 +. Corresponds to git commit 397a64b350470350c8e0adb2

svn commit: r227735 - in head/contrib/llvm/tools/clang: include/clang/Basic lib/Sema

2011-11-19 Thread Dimitry Andric
Author: dim Date: Sat Nov 19 17:09:36 2011 New Revision: 227735 URL: http://svn.freebsd.org/changeset/base/227735 Log: Pull in r144110 from upstream clang trunk: Mark the overloaded atomic builtins as having custom type checking, which they do. This avoids all of the default argument prom

svn commit: r227736 - head/contrib/llvm/tools/clang/include/clang/Basic

2011-11-19 Thread Dimitry Andric
Author: dim Date: Sat Nov 19 17:15:20 2011 New Revision: 227736 URL: http://svn.freebsd.org/changeset/base/227736 Log: Pull in r144237 from upstream clang trunk: Fix the signature of __sigsetjmp and sigsetjmp. This eliminates incorrect warnings about the prototypes of these functions.

svn commit: r227737 - in head/contrib/llvm/tools/clang: include/clang/AST include/clang/Basic include/clang/Serialization lib/AST lib/Sema lib/Serialization

2011-11-19 Thread Dimitry Andric
Author: dim Date: Sat Nov 19 18:01:14 2011 New Revision: 227737 URL: http://svn.freebsd.org/changeset/base/227737 Log: Pull in r144505 from upstream clang trunk: Fix the signature of the getcontext builtin, eliminating incorrect warnings about its prototype. This also adds a -W(no-)b

svn commit: r227987 - in head: . lib share/mk

2011-11-25 Thread Dimitry Andric
Author: dim Date: Sat Nov 26 03:26:06 2011 New Revision: 227987 URL: http://svn.freebsd.org/changeset/base/227987 Log: Fix breakage after r227983; lib/libcxxrt still got built, because it was not disabled in the usual way (by adding it to __DEFAULT_NO_OPTIONS in share/mk/bsd.own.mk), and bec

svn commit: r228081 - head/tools/build/options

2011-11-28 Thread Dimitry Andric
Author: dim Date: Mon Nov 28 17:54:34 2011 New Revision: 228081 URL: http://svn.freebsd.org/changeset/base/228081 Log: Under tools/build/options, add missing svn:keywords properties to WITH_OFED and WITHOUT_GPIO. Modified: Directory Properties: head/tools/build/options/WITHOUT_GPIO (props

svn commit: r228082 - head/tools/build/options

2011-11-28 Thread Dimitry Andric
Author: dim Date: Mon Nov 28 17:56:46 2011 New Revision: 228082 URL: http://svn.freebsd.org/changeset/base/228082 Log: Add WITH_LIBCPLUSPLUS under tools/build/options; the knob itself was already added in a previous revision. Added: head/tools/build/options/WITH_LIBCPLUSPLUS (contents, pr

svn commit: r228083 - head/share/man/man5

2011-11-28 Thread Dimitry Andric
Author: dim Date: Mon Nov 28 17:58:57 2011 New Revision: 228083 URL: http://svn.freebsd.org/changeset/base/228083 Log: Regenerate src.conf.5. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r228328 - head/contrib/libstdc++/include/debug

2011-12-07 Thread Dimitry Andric
Author: dim Date: Wed Dec 7 21:00:33 2011 New Revision: 228328 URL: http://svn.freebsd.org/changeset/base/228328 Log: Make it possible to use the debug versions of std::map and std::multimap with clang, by removing two unneeded using declarations. Otherwise, you would get errors similar to

svn commit: r228364 - in vendor/llvm/dist: docs lib/CodeGen lib/CodeGen/AsmPrinter lib/CodeGen/SelectionDAG lib/Target/ARM lib/Target/CppBackend lib/Target/Mips lib/Target/PowerPC lib/Target/X86 li...

2011-12-09 Thread Dimitry Andric
Author: dim Date: Fri Dec 9 18:27:22 2011 New Revision: 228364 URL: http://svn.freebsd.org/changeset/base/228364 Log: Vendor import of llvm 3.0 final release: http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_30/final@145349 Added: vendor/llvm/dist/test/CodeGen/ARM/gv-stubs-crash.ll Modif

svn commit: r228365 - vendor/llvm/llvm-r145349

2011-12-09 Thread Dimitry Andric
Author: dim Date: Fri Dec 9 18:30:06 2011 New Revision: 228365 URL: http://svn.freebsd.org/changeset/base/228365 Log: Tag llvm 3.0 final release. Added: vendor/llvm/llvm-r145349/ - copied from r228364, vendor/llvm/dist/ ___ svn-src-all@freebsd

svn commit: r228366 - in vendor/clang/dist: bindings/python/clang bindings/python/tests/cindex include/clang/Basic include/clang/Driver include/clang/Frontend lib/Basic lib/CodeGen lib/Driver lib/F...

2011-12-09 Thread Dimitry Andric
Author: dim Date: Fri Dec 9 18:30:42 2011 New Revision: 228366 URL: http://svn.freebsd.org/changeset/base/228366 Log: Vendor import of clang 3.0 final release: http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_30/final@145349 Added: vendor/clang/dist/test/CodeGen/pr9614.c vendor/clang/d

svn commit: r228367 - vendor/clang/clang-r145349

2011-12-09 Thread Dimitry Andric
Author: dim Date: Fri Dec 9 18:31:22 2011 New Revision: 228367 URL: http://svn.freebsd.org/changeset/base/228367 Log: Tag clang 3.0 final release. Added: vendor/clang/clang-r145349/ - copied from r228366, vendor/clang/dist/ ___ svn-src-all@fre

svn commit: r228379 - in head: contrib/llvm/lib/CodeGen contrib/llvm/lib/CodeGen/AsmPrinter contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/lib/Target/ARM contrib/llvm/lib/Target/CppBackend cont...

2011-12-09 Thread Dimitry Andric
Author: dim Date: Fri Dec 9 22:23:45 2011 New Revision: 228379 URL: http://svn.freebsd.org/changeset/base/228379 Log: Upgrade our copy of llvm/clang to 3.0 release. Release notes can be found at: http://llvm.org/releases/3.0/docs/ReleaseNotes.html MFC after:1 week Added: head/lib

svn commit: r228383 - head/lib/clang/include/clang/Basic

2011-12-09 Thread Dimitry Andric
Author: dim Date: Sat Dec 10 01:01:44 2011 New Revision: 228383 URL: http://svn.freebsd.org/changeset/base/228383 Log: Use the correct upstream revision number for llvm/clang 3.0 release. The r145546 revision is from branches/release_30, the r145349 revision is from tags/RELEASE_30/final.

svn commit: r228409 - head/tools/build/mk

2011-12-11 Thread Dimitry Andric
Author: dim Date: Sun Dec 11 14:01:11 2011 New Revision: 228409 URL: http://svn.freebsd.org/changeset/base/228409 Log: Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is in effect. MFC after:1 week Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modifie

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-14 Thread Dimitry Andric
On 2011-12-14 13:24, Gerald Pfeifer wrote: > On Mon, 12 Dec 2011, Kostik Belousov wrote: >> Does anybody on toolchain@ know how to submit the gas change to >> maintainers for inclusion into mainline, or better, can submit it >> himself ? I assume that no copyright assignment is required for this >>

svn commit: r228536 - in head/lib/libthr/arch: amd64/include i386/include

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 19:42:25 2011 New Revision: 228536 URL: http://svn.freebsd.org/changeset/base/228536 Log: The TCB_GET32() and TCB_GET64() macros in the i386 and amd64-specific versions of pthread_md.h have a special case of dereferencing a null pointer. Clang warns about this w

svn commit: r228537 - head/lib/libc/resolv

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 20:10:12 2011 New Revision: 228537 URL: http://svn.freebsd.org/changeset/base/228537 Log: Remove meaningless self-assignment in res_send.c, otherwise clang will warn about it. I guess this was originally done to silence a bogus warning by an older version of gcc

svn commit: r228538 - head/lib/libc/rpc

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 20:27:36 2011 New Revision: 228538 URL: http://svn.freebsd.org/changeset/base/228538 Log: In lib/libc/rpc/crypt_client.c, fix a clang warning about an implicit conversion between enum desdir/desmode from include/rpc/des.h, and enum desdir/desmode from include/rpc

svn commit: r228540 - head/lib/libc/stdlib

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 20:40:11 2011 New Revision: 228540 URL: http://svn.freebsd.org/changeset/base/228540 Log: Since clang does not support the tls_model attribute used in malloc.c yet (see LLVM PR 9788), and warns about it, rub it out for now. When clang grows support for this attr

svn commit: r228546 - head/share/mk

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 22:08:08 2011 New Revision: 228546 URL: http://svn.freebsd.org/changeset/base/228546 Log: Clang has more warnings enabled by default, and when using -Wall, so if WARNS is set to low values, some of them have to be disabled explicitly. MFC after:1 week Mod

svn commit: r228547 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 22:10:27 2011 New Revision: 228547 URL: http://svn.freebsd.org/changeset/base/228547 Log: Cast away a clang alignment warning in drti.c's fixsymbol() function. This code only runs on i386 and amd64, so there should be no problems if buf + sec->dofs_offset is not

svn commit: r228548 - head/cddl/contrib/opensolaris/lib/libdtrace/i386

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 22:37:33 2011 New Revision: 228548 URL: http://svn.freebsd.org/changeset/base/228548 Log: In cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c, use the correct printf format for an unsigned long. MFC after:1 week Modified: head/cddl/contrib/openso

svn commit: r228549 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 22:46:04 2011 New Revision: 228549 URL: http://svn.freebsd.org/changeset/base/228549 Log: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, use the correct printf format for a key_t (aka long). MFC after:1 week Modified: head/cddl/contrib/open

svn commit: r228550 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 23:06:46 2011 New Revision: 228550 URL: http://svn.freebsd.org/changeset/base/228550 Log: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c, the dt_popc() function assumes that either _ILP32 or _LP64 is defined, otherwise it has no suitable implementatio

svn commit: r228551 - head/share/mk

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 23:13:57 2011 New Revision: 228551 URL: http://svn.freebsd.org/changeset/base/228551 Log: Disable one more clang warning when WARNS <= 3. MFC after:1 week Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk =

svn commit: r228552 - head/lib/libipsec

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 23:22:24 2011 New Revision: 228552 URL: http://svn.freebsd.org/changeset/base/228552 Log: Define YY_NO_INPUT in lib/libipsec/policy_token.l, so lex's input() function does not get defined needlessly. MFC after:1 week Modified: head/lib/libipsec/policy_t

svn commit: r228553 - head/contrib/file

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 23:28:17 2011 New Revision: 228553 URL: http://svn.freebsd.org/changeset/base/228553 Log: In contrib/file/softmagic.c, fix a potential format string security problem. (This fix has already been applied upstream, but we do not have the latest version of file in t

svn commit: r228554 - head/sys/contrib/ngatm/netnatm/msg

2011-12-15 Thread Dimitry Andric
Author: dim Date: Thu Dec 15 23:47:36 2011 New Revision: 228554 URL: http://svn.freebsd.org/changeset/base/228554 Log: In sys/contrib/ngatm/netnatm/msg/uni_ie.c, use a more appropriate way to tell the compiler some parameters are purposefully unused. MFC after:1 week Modified: head

svn commit: r228555 - head/lib/libipsec

2011-12-15 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 00:01:19 2011 New Revision: 228555 URL: http://svn.freebsd.org/changeset/base/228555 Log: In lib/libipsec/policy_token.l, use lex's standard "%option noinput" instead of hand-defining the YY_NO_INPUT macro. MFC after:1 week Modified: head/lib/libipsec/p

svn commit: r228556 - head/sys/dev/aic7xxx/aicasm

2011-12-15 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 00:04:28 2011 New Revision: 228556 URL: http://svn.freebsd.org/changeset/base/228556 Log: Add "%option noinput" to aicasm_scan.l and aicasm_macro_scan.l, so no unneeded input functions will be emitted. Spotted by: arundel MFC after:1 week Modified:

svn commit: r228557 - head/lib/libpmc

2011-12-15 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 00:13:43 2011 New Revision: 228557 URL: http://svn.freebsd.org/changeset/base/228557 Log: In lib/libpmc/libpmc.c, struct pmc_cputype_map's pm_cputype field should be of type 'enum pmc_cputype', not 'enum pmc_class'. MFC after:1 week Modified: head/lib/l

svn commit: r228558 - head/lib/libsm

2011-12-15 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 00:39:44 2011 New Revision: 228558 URL: http://svn.freebsd.org/changeset/base/228558 Log: Unfortunately, clang gives a warning about sendmail code that cannot be turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn m

svn commit: r228559 - head/contrib/telnet/libtelnet

2011-12-15 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 00:48:53 2011 New Revision: 228559 URL: http://svn.freebsd.org/changeset/base/228559 Log: In contrib/telnet/libtelnet/sra.c, use the correct number of bytes to zero the password buffer. MFC after:1 week Modified: head/contrib/telnet/libtelnet/sra.c Mod

svn commit: r228578 - head/lib/libthread_db

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 15:00:56 2011 New Revision: 228578 URL: http://svn.freebsd.org/changeset/base/228578 Log: In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect warnings about alignment, so turn -Wcast-align off for now. MFC after:1 week Modified: hea

svn commit: r228579 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 15:04:47 2011 New Revision: 228579 URL: http://svn.freebsd.org/changeset/base/228579 Log: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c, some uint64_t values are snprintf'd using %llx. On amd64, uint64_t is typedef'd as unsigned long, so cast the

svn commit: r228580 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 15:12:42 2011 New Revision: 228580 URL: http://svn.freebsd.org/changeset/base/228580 Log: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_handle.c, some uint64_t values are snprintf'd using %llx. On amd64, uint64_t is typedef'd as unsigned long, so cast the

svn commit: r228581 - head/libexec/bootpd/bootpgw

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 15:38:11 2011 New Revision: 228581 URL: http://svn.freebsd.org/changeset/base/228581 Log: In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remaining minutes of activity, to avoid a warning on platforms where time_t is a 32-bit integer. MFC after:1

svn commit: r228582 - head/libexec/getty

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 15:44:12 2011 New Revision: 228582 URL: http://svn.freebsd.org/changeset/base/228582 Log: In libexec/getty/chat.c, replace && with & in chat_send(). The intent is to test if the CHATDEBUG_SEND bit is set in the chat_debug global. MFC after:1 week Modifie

svn commit: r228584 - head/libexec/bootpd/tools/bootptest

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 15:55:43 2011 New Revision: 228584 URL: http://svn.freebsd.org/changeset/base/228584 Log: In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printf length modifier for the difference between two pointers. MFC after:1 week Modified: head/li

svn commit: r228585 - head/libexec/mail.local

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 15:58:38 2011 New Revision: 228585 URL: http://svn.freebsd.org/changeset/base/228585 Log: Unfortunately, clang gives warnings about sendmail code that cannot be turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn ma

svn commit: r228586 - head/libexec/pppoed

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 16:07:39 2011 New Revision: 228586 URL: http://svn.freebsd.org/changeset/base/228586 Log: In libexec/pppoed/pppoed.c, use the correct printf length modifier for a size_t. MFC after:1 week Modified: head/libexec/pppoed/pppoed.c Modified: head/libexec/pp

svn commit: r228587 - head/libexec/rbootd

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 16:29:51 2011 New Revision: 228587 URL: http://svn.freebsd.org/changeset/base/228587 Log: In libexec/rbootd/utils.c, use the correct printf length modifiers for u_int32_t and size_t. MFC after:1 week Modified: head/libexec/rbootd/utils.c Modified: head

svn commit: r228588 - head/libexec/smrsh

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 16:32:08 2011 New Revision: 228588 URL: http://svn.freebsd.org/changeset/base/228588 Log: Unfortunately, clang gives warnings about sendmail code that cannot be turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn ma

svn commit: r228589 - head/contrib/telnet/telnetd

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 16:53:54 2011 New Revision: 228589 URL: http://svn.freebsd.org/changeset/base/228589 Log: In contrib/telnet/telnetd/utility.c, fix a few warnings about format strings not being literals. MFC after:1 week Modified: head/contrib/telnet/telnetd/utility.c

svn commit: r228590 - in head: lib/libsm libexec/mail.local libexec/smrsh

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 17:02:25 2011 New Revision: 228590 URL: http://svn.freebsd.org/changeset/base/228590 Log: Fix typos in the comments about clang warnings in several sendmail-related Makefiles. Spotted by: arundel MFC after:1 week Modified: head/lib/libsm/Makefile

svn commit: r228592 - head/libexec/ypxfr

2011-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 19:39:49 2011 New Revision: 228592 URL: http://svn.freebsd.org/changeset/base/228592 Log: Attempt to fix the numerous incompatible enum conversions in libexec/ypxfr in the least disruptive way. MFC after:1 week Modified: head/libexec/ypxfr/yp_dbwrite.c

  1   2   3   4   5   6   7   8   9   10   >