svn commit: r360687 - stable/11/sys/cam/ctl

2020-05-06 Thread Dimitry Andric
Author: dim Date: Wed May 6 08:32:49 2020 New Revision: 360687 URL: https://svnweb.freebsd.org/changeset/base/360687 Log: Redo r360682, now with only a minimal fix for misleading indentation: MFC r333465 (partial, by lwhsu): Fix build for platforms using GCC: [omitted] - Remove

svn commit: r360686 - stable/11/sys/cam/ctl

2020-05-06 Thread Dimitry Andric
Author: dim Date: Wed May 6 08:24:47 2020 New Revision: 360686 URL: https://svnweb.freebsd.org/changeset/base/360686 Log: Revert r360682, as it does not compile on stable/11 (will commit a minimal indentation fix instead): Un-MFC r333465 (by lwhsu): Fix build for platforms using

svn commit: r360684 - stable/11/sys/dev/ata/chipsets

2020-05-05 Thread Dimitry Andric
Author: dim Date: Wed May 6 05:41:02 2020 New Revision: 360684 URL: https://svnweb.freebsd.org/changeset/base/360684 Log: MFC r335894 (by sbruno): Reset indentation of this flag. No functional change intended. Found with gcc. sys/dev/ata/chipsets/ata-siliconimage.c: In function

svn commit: r360683 - stable/11/sys/dev/ata

2020-05-05 Thread Dimitry Andric
Author: dim Date: Wed May 6 05:35:00 2020 New Revision: 360683 URL: https://svnweb.freebsd.org/changeset/base/360683 Log: MFC r335896 (by sbruno): Reset indentiation of ata_suspend() such that its clear we fall through this function and that we aren't supposed to be controlled by the

svn commit: r360682 - stable/11/sys/cam/ctl

2020-05-05 Thread Dimitry Andric
Author: dim Date: Wed May 6 05:32:50 2020 New Revision: 360682 URL: https://svnweb.freebsd.org/changeset/base/360682 Log: MFC r333465 (by lwhsu): Fix build for platforms using GCC: - Remove unused or dead store variable - Remove unused function ctl_copyin_alloc - Add missing

svn commit: r360675 - stable/11/usr.sbin/lmcconfig

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 21:01:43 2020 New Revision: 360675 URL: https://svnweb.freebsd.org/changeset/base/360675 Log: Fix misleading indentation warning: usr.sbin/lmcconfig/lmcconfig.c:941:39: error: misleading indentation; statement is not part of the previous 'if'

svn commit: r360674 - stable/11/sbin/pfctl

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 20:56:41 2020 New Revision: 360674 URL: https://svnweb.freebsd.org/changeset/base/360674 Log: MFC r335608 (by sbruno): Assuming that the intent (from the white space) is that the fprintf() be executed in the if() conditional. If its not supposed to be

svn commit: r360673 - stable/11/libexec/rshd

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 20:53:45 2020 New Revision: 360673 URL: https://svnweb.freebsd.org/changeset/base/360673 Log: Fix misleading indentation warning: libexec/rshd/rshd.c:442:5: error: misleading indentation; statement is not part of the previous 'else'

svn commit: r360672 - stable/11/usr.sbin/mpsutil

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 20:45:54 2020 New Revision: 360672 URL: https://svnweb.freebsd.org/changeset/base/360672 Log: MFC r334075 (by eadler): mpsutil: add missing braces Obtained from:DragonFly (c5d53f11a9510c5c79e196857a1200925fffacc8) MFC r334085 (by eadler):

svn commit: r360668 - in stable/11: . contrib/llvm-project/clang contrib/llvm-project/compiler-rt contrib/llvm-project/libcxx contrib/llvm-project/libunwind contrib/llvm-project/lld contrib/llvm-pr...

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 18:49:04 2020 New Revision: 360668 URL: https://svnweb.freebsd.org/changeset/base/360668 Log: Record-only merge of r310775 and its reversal, r310792. This is so these do not show up in any future merge attempts. Modified: Directory Properties: stable/11/

svn commit: r360667 - in stable/11: gnu/usr.bin/binutils/ld lib/clang/libllvm usr.bin/clang/lld

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 18:44:06 2020 New Revision: 360667 URL: https://svnweb.freebsd.org/changeset/base/360667 Log: MFC r330366 (by emaste): When lld is ld, install bfd's man page as ld.bfd.1 When WITH_LLD_IS_LD is set, lld's man page is installed as ld.1.gz, as was GNU BFD's

svn commit: r360666 - in stable/11: . contrib/llvm-project/clang contrib/llvm-project/compiler-rt contrib/llvm-project/libcxx contrib/llvm-project/libunwind contrib/llvm-project/lld contrib/llvm-pr...

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 18:09:06 2020 New Revision: 360666 URL: https://svnweb.freebsd.org/changeset/base/360666 Log: Record-only merge of r332501 and its reversal, r332503. This is so these do not show up in any future merge attempts. Modified: Directory Properties: stable/11/

svn commit: r360661 - in stable/11: . contrib/llvm-project contrib/llvm-project/clang contrib/llvm-project/clang/include/clang/Basic contrib/llvm-project/clang/include/clang/CodeGen contrib/llvm-pr...

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 17:50:27 2020 New Revision: 360661 URL: https://svnweb.freebsd.org/changeset/base/360661 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05, and a number of follow-ups.

svn commit: r360660 - in stable/11: . contrib/compiler-rt contrib/libc++ contrib/libunwind contrib/llvm contrib/llvm-project/libcxx/include contrib/openmp gnu/usr.bin/cc/include lib/clang lib/clang...

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 17:10:49 2020 New Revision: 360660 URL: https://svnweb.freebsd.org/changeset/base/360660 Log: MFC r355940: Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated

svn commit: r360659 - stable/11/sys/arm/include

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 15:29:16 2020 New Revision: 360659 URL: https://svnweb.freebsd.org/changeset/base/360659 Log: Fix-up for arm, armeb and armv6 builds erroring after r360658, with: In file included from /usr/src/contrib/compiler-rt/lib/builtins/clear_cache.c:26:

svn commit: r360656 - stable/11/sys/conf

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 11:14:28 2020 New Revision: 360656 URL: https://svnweb.freebsd.org/changeset/base/360656 Log: MFC r316513 (by jhb): Sync SYSTEM_LD in Makefile.arm with kern.pre.mk. - Add --no-warn-mismatch. - Use same whitespace to make future updates simpler.

svn commit: r360643 - in stable/11: . gnu/lib gnu/lib/libgcc lib lib/libgcc_eh lib/libgcc_s

2020-05-04 Thread Dimitry Andric
Author: dim Date: Mon May 4 22:59:39 2020 New Revision: 360643 URL: https://svnweb.freebsd.org/changeset/base/360643 Log: Merge additions of LLVM libunwind libgcc_eh and libgcc_s. This is in preparation of further LLVM merges. MFC r307230 (by emaste): Introduce lib/libgcc_eh and

svn commit: r360636 - stable/11/usr.bin/clang

2020-05-04 Thread Dimitry Andric
Author: dim Date: Mon May 4 17:45:04 2020 New Revision: 360636 URL: https://svnweb.freebsd.org/changeset/base/360636 Log: Correctly finish up MFC of r310840: Move llvm-objdump from CLANG_EXTRAS to installed by default The SUBDIR entry was not actually moved to the right location in

svn commit: r360614 - in stable/11/stand: . i386/loader

2020-05-03 Thread Dimitry Andric
Author: dim Date: Sun May 3 18:46:03 2020 New Revision: 360614 URL: https://svnweb.freebsd.org/changeset/base/360614 Log: Revert r360605, as it is actually the cause for the linker set errors: Un-MFC r352032 (by tsoome): loader: --gc-sections needs sections to work with

svn commit: r360611 - stable/11/stand

2020-05-03 Thread Dimitry Andric
Author: dim Date: Sun May 3 16:51:59 2020 New Revision: 360611 URL: https://svnweb.freebsd.org/changeset/base/360611 Log: Revert r360606, as it results in linker set errors while building for amd64, I'll have to re-do this more carefully: Un-MFC r354043 (partial, by sjg): Add

svn commit: r360606 - stable/11/stand

2020-05-03 Thread Dimitry Andric
Author: dim Date: Sun May 3 15:39:10 2020 New Revision: 360606 URL: https://svnweb.freebsd.org/changeset/base/360606 Log: MFC r354043 (partial, by sjg): Add support for hypervisor check on x86 Add ficl words for isvirtualized and move ficl inb and outb words to ficl/x86/sysdep.c

svn commit: r360605 - in stable/11/stand: . i386/loader

2020-05-03 Thread Dimitry Andric
Author: dim Date: Sun May 3 15:08:32 2020 New Revision: 360605 URL: https://svnweb.freebsd.org/changeset/base/360605 Log: MFC r352032 (by tsoome): loader: --gc-sections needs sections to work with --gc-sections is not really useful unless we generate sections with

svn commit: r360542 - in stable: 10 11 12

2020-05-01 Thread Dimitry Andric
Author: dim Date: Fri May 1 18:27:14 2020 New Revision: 360542 URL: https://svnweb.freebsd.org/changeset/base/360542 Log: MFC r360322: Fix race between prebuilding libsbuf and libgeom The latter needs the former, but with a multi-job build on a fast machine, the race is sometimes

svn commit: r360542 - in stable: 10 11 12

2020-05-01 Thread Dimitry Andric
Author: dim Date: Fri May 1 18:27:14 2020 New Revision: 360542 URL: https://svnweb.freebsd.org/changeset/base/360542 Log: MFC r360322: Fix race between prebuilding libsbuf and libgeom The latter needs the former, but with a multi-job build on a fast machine, the race is sometimes

svn commit: r360542 - in stable: 10 11 12

2020-05-01 Thread Dimitry Andric
Author: dim Date: Fri May 1 18:27:14 2020 New Revision: 360542 URL: https://svnweb.freebsd.org/changeset/base/360542 Log: MFC r360322: Fix race between prebuilding libsbuf and libgeom The latter needs the former, but with a multi-job build on a fast machine, the race is sometimes

svn commit: r360350 - head/contrib/llvm-project/llvm/lib/Target/ARM

2020-04-26 Thread Dimitry Andric
Author: dim Date: Sun Apr 26 19:17:45 2020 New Revision: 360350 URL: https://svnweb.freebsd.org/changeset/base/360350 Log: Tentatively apply https://reviews.llvm.org/D78877 (by Dave Green): [ARM] Only produce qadd8b under hasV6Ops When compiling for a arm5te cpu from clang, the

svn commit: r360340 - stable/10/usr.sbin/timed

2020-04-26 Thread Dimitry Andric
Author: dim Date: Sun Apr 26 15:52:41 2020 New Revision: 360340 URL: https://svnweb.freebsd.org/changeset/base/360340 Log: Remove stray "DO NOT DELETE" line, which bmake apparently put in without my knowledge or consent. I did not intend to commit this. Modified:

svn commit: r360338 - in stable: 10/usr.sbin/timed 10/usr.sbin/timed/timed 11/usr.sbin/timed/timed 12/usr.sbin/timed/timed

2020-04-26 Thread Dimitry Andric
Author: dim Date: Sun Apr 26 15:50:32 2020 New Revision: 360338 URL: https://svnweb.freebsd.org/changeset/base/360338 Log: Add casts to work around harmless -Werror warnings from clang 10.0.0, such as: usr.sbin/timed/timed/networkdelta.c:160:13: error: implicit conversion from 'long' to

svn commit: r360338 - in stable: 10/usr.sbin/timed 10/usr.sbin/timed/timed 11/usr.sbin/timed/timed 12/usr.sbin/timed/timed

2020-04-26 Thread Dimitry Andric
Author: dim Date: Sun Apr 26 15:50:32 2020 New Revision: 360338 URL: https://svnweb.freebsd.org/changeset/base/360338 Log: Add casts to work around harmless -Werror warnings from clang 10.0.0, such as: usr.sbin/timed/timed/networkdelta.c:160:13: error: implicit conversion from 'long' to

svn commit: r360338 - in stable: 10/usr.sbin/timed 10/usr.sbin/timed/timed 11/usr.sbin/timed/timed 12/usr.sbin/timed/timed

2020-04-26 Thread Dimitry Andric
Author: dim Date: Sun Apr 26 15:50:32 2020 New Revision: 360338 URL: https://svnweb.freebsd.org/changeset/base/360338 Log: Add casts to work around harmless -Werror warnings from clang 10.0.0, such as: usr.sbin/timed/timed/networkdelta.c:160:13: error: implicit conversion from 'long' to

svn commit: r360326 - in stable: 10/usr.sbin/pw 11/usr.sbin/pw 12/usr.sbin/pw

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 22:23:34 2020 New Revision: 360326 URL: https://svnweb.freebsd.org/changeset/base/360326 Log: MFC r348282 (by lwhsu): Remove an uneeded indentation introduced in r286196 to silence gcc warnging Sponsored by: The FreeBSD Foundation Modified:

svn commit: r360326 - in stable: 10/usr.sbin/pw 11/usr.sbin/pw 12/usr.sbin/pw

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 22:23:34 2020 New Revision: 360326 URL: https://svnweb.freebsd.org/changeset/base/360326 Log: MFC r348282 (by lwhsu): Remove an uneeded indentation introduced in r286196 to silence gcc warnging Sponsored by: The FreeBSD Foundation Modified:

svn commit: r360326 - in stable: 10/usr.sbin/pw 11/usr.sbin/pw 12/usr.sbin/pw

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 22:23:34 2020 New Revision: 360326 URL: https://svnweb.freebsd.org/changeset/base/360326 Log: MFC r348282 (by lwhsu): Remove an uneeded indentation introduced in r286196 to silence gcc warnging Sponsored by: The FreeBSD Foundation Modified:

svn commit: r360322 - head

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 20:24:41 2020 New Revision: 360322 URL: https://svnweb.freebsd.org/changeset/base/360322 Log: Fix race between prebuilding libsbuf and libgeom The latter needs the former, but with a multi-job build on a fast machine, the race is sometimes lost. This leads to

svn commit: r360320 - in stable/12: lib lib/liblua libexec/flua share/mk

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 18:23:23 2020 New Revision: 360320 URL: https://svnweb.freebsd.org/changeset/base/360320 Log: MFC r359045 (by brooks): Add an internal liblua and use it in flua. The new liblua will be used in a forthcoming import of kyua. Reviewed by: kevans

svn commit: r360318 - in stable: 11/contrib/binutils/bfd 11/contrib/binutils/binutils 12/contrib/binutils/bfd 12/contrib/binutils/binutils

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 15:51:30 2020 New Revision: 360318 URL: https://svnweb.freebsd.org/changeset/base/360318 Log: MFC r354057 (by brooks): binutils: Fix bugs found by -Wpointer-compare The MIPS bug was introduced by upstream commit 7403cb630, which failed to account for the

svn commit: r360318 - in stable: 11/contrib/binutils/bfd 11/contrib/binutils/binutils 12/contrib/binutils/bfd 12/contrib/binutils/binutils

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 15:51:30 2020 New Revision: 360318 URL: https://svnweb.freebsd.org/changeset/base/360318 Log: MFC r354057 (by brooks): binutils: Fix bugs found by -Wpointer-compare The MIPS bug was introduced by upstream commit 7403cb630, which failed to account for the

svn commit: r360317 - in stable: 11/usr.sbin/i2c 12/usr.sbin/i2c

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 15:45:43 2020 New Revision: 360317 URL: https://svnweb.freebsd.org/changeset/base/360317 Log: MFC r354796 (by arichardson): Fix error found by new clang operator precendence warning error: operator '?:' has lower precedence than '|'; '|' will be evaluated

svn commit: r360317 - in stable: 11/usr.sbin/i2c 12/usr.sbin/i2c

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 15:45:43 2020 New Revision: 360317 URL: https://svnweb.freebsd.org/changeset/base/360317 Log: MFC r354796 (by arichardson): Fix error found by new clang operator precendence warning error: operator '?:' has lower precedence than '|'; '|' will be evaluated

svn commit: r360312 - in stable: 11/sys/netpfil/pf 12/sys/netpfil/pf

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 15:36:50 2020 New Revision: 360312 URL: https://svnweb.freebsd.org/changeset/base/360312 Log: MFC r348284 (by lwhsu): Remove an uneeded indentation introduced in r223637 to silence gcc warnging Sponsored by: The FreeBSD Foundation Modified:

svn commit: r360312 - in stable: 11/sys/netpfil/pf 12/sys/netpfil/pf

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 15:36:50 2020 New Revision: 360312 URL: https://svnweb.freebsd.org/changeset/base/360312 Log: MFC r348284 (by lwhsu): Remove an uneeded indentation introduced in r223637 to silence gcc warnging Sponsored by: The FreeBSD Foundation Modified:

svn commit: r360305 - in stable: 11/sys/dev/mrsas 11/sys/dev/sound/pci 12/sys/dev/mrsas 12/sys/dev/sound/pci

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:18:29 2020 New Revision: 360305 URL: https://svnweb.freebsd.org/changeset/base/360305 Log: MFC r357146 (partial, by jhb): Fix some misleading indentation warnings reported by recent clang. These should not be any functional change. While the change in

svn commit: r360305 - in stable: 11/sys/dev/mrsas 11/sys/dev/sound/pci 12/sys/dev/mrsas 12/sys/dev/sound/pci

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:18:29 2020 New Revision: 360305 URL: https://svnweb.freebsd.org/changeset/base/360305 Log: MFC r357146 (partial, by jhb): Fix some misleading indentation warnings reported by recent clang. These should not be any functional change. While the change in

svn commit: r360304 - in stable: 10/sys/dev/ixl 11/sys/dev/ixl 12/sys/dev/ixl

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:14:06 2020 New Revision: 360304 URL: https://svnweb.freebsd.org/changeset/base/360304 Log: MFC r348445 (by lwhsu): Add the missing braces to fix the code not guarded by the if clause and has misleading indentation. This is found by gcc

svn commit: r360304 - in stable: 10/sys/dev/ixl 11/sys/dev/ixl 12/sys/dev/ixl

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:14:06 2020 New Revision: 360304 URL: https://svnweb.freebsd.org/changeset/base/360304 Log: MFC r348445 (by lwhsu): Add the missing braces to fix the code not guarded by the if clause and has misleading indentation. This is found by gcc

svn commit: r360304 - in stable: 10/sys/dev/ixl 11/sys/dev/ixl 12/sys/dev/ixl

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:14:06 2020 New Revision: 360304 URL: https://svnweb.freebsd.org/changeset/base/360304 Log: MFC r348445 (by lwhsu): Add the missing braces to fix the code not guarded by the if clause and has misleading indentation. This is found by gcc

svn commit: r360303 - in stable: 10/sys/dev/drm2/radeon 11/sys/dev/drm2/radeon 12/sys/dev/drm2/radeon

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:10:17 2020 New Revision: 360303 URL: https://svnweb.freebsd.org/changeset/base/360303 Log: Fix misleading indentation in sys/dev/drm2/radeon/evergreen.c This fixes the following warning from recent versions of clang and gcc:

svn commit: r360303 - in stable: 10/sys/dev/drm2/radeon 11/sys/dev/drm2/radeon 12/sys/dev/drm2/radeon

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:10:17 2020 New Revision: 360303 URL: https://svnweb.freebsd.org/changeset/base/360303 Log: Fix misleading indentation in sys/dev/drm2/radeon/evergreen.c This fixes the following warning from recent versions of clang and gcc:

svn commit: r360303 - in stable: 10/sys/dev/drm2/radeon 11/sys/dev/drm2/radeon 12/sys/dev/drm2/radeon

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:10:17 2020 New Revision: 360303 URL: https://svnweb.freebsd.org/changeset/base/360303 Log: Fix misleading indentation in sys/dev/drm2/radeon/evergreen.c This fixes the following warning from recent versions of clang and gcc:

svn commit: r360302 - in stable: 11/lib/libdevdctl 12/lib/libdevdctl

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:03:37 2020 New Revision: 360302 URL: https://svnweb.freebsd.org/changeset/base/360302 Log: MFC r355974 (by rlibby): libdevdctl: g++9 avoid Wdeprecated-copy g++9 now warns about having defined an assignment operator but using the default copy

svn commit: r360302 - in stable: 11/lib/libdevdctl 12/lib/libdevdctl

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:03:37 2020 New Revision: 360302 URL: https://svnweb.freebsd.org/changeset/base/360302 Log: MFC r355974 (by rlibby): libdevdctl: g++9 avoid Wdeprecated-copy g++9 now warns about having defined an assignment operator but using the default copy

svn commit: r360301 - in stable: 10/contrib/bsnmp/lib 11/contrib/bsnmp/lib 12/contrib/bsnmp/lib

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 12:57:20 2020 New Revision: 360301 URL: https://svnweb.freebsd.org/changeset/base/360301 Log: MFC r354834 (by jhibbits): bsnmp: Fix operator precedence in error check in table_check_response Summary: The ?: operator has a lower precedence than == and &&,

svn commit: r360301 - in stable: 10/contrib/bsnmp/lib 11/contrib/bsnmp/lib 12/contrib/bsnmp/lib

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 12:57:20 2020 New Revision: 360301 URL: https://svnweb.freebsd.org/changeset/base/360301 Log: MFC r354834 (by jhibbits): bsnmp: Fix operator precedence in error check in table_check_response Summary: The ?: operator has a lower precedence than == and &&,

svn commit: r360301 - in stable: 10/contrib/bsnmp/lib 11/contrib/bsnmp/lib 12/contrib/bsnmp/lib

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 12:57:20 2020 New Revision: 360301 URL: https://svnweb.freebsd.org/changeset/base/360301 Log: MFC r354834 (by jhibbits): bsnmp: Fix operator precedence in error check in table_check_response Summary: The ?: operator has a lower precedence than == and &&,

svn commit: r360300 - stable/12/sys/mips/include

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 12:50:21 2020 New Revision: 360300 URL: https://svnweb.freebsd.org/changeset/base/360300 Log: MFC r342022 (by imp): Correctly implemenet atomic_swap_long for mips64. MIPS64 has 64-bit longs, so use uint64_t for it, otherwise uint32_t. sizeof(long) ==

svn commit: r360297 - in stable: 11/sys/dev/ips 12/sys/dev/ips

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 12:39:28 2020 New Revision: 360297 URL: https://svnweb.freebsd.org/changeset/base/360297 Log: MFC r348366 (by lwhsu): Add the likely missing braces in ips(4). This is found by gcc warning that the code is not guarded by the if clause and has misleading

svn commit: r360297 - in stable: 11/sys/dev/ips 12/sys/dev/ips

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 12:39:28 2020 New Revision: 360297 URL: https://svnweb.freebsd.org/changeset/base/360297 Log: MFC r348366 (by lwhsu): Add the likely missing braces in ips(4). This is found by gcc warning that the code is not guarded by the if clause and has misleading

svn commit: r360134 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 19:16:10 2020 New Revision: 360134 URL: https://svnweb.freebsd.org/changeset/base/360134 Log: Merge commit 64b31d96d from llvm git (by Nemanja Ivanovic): [PowerPC] Do not attempt to reuse load for 64-bit FP_TO_UINT without FPCVT We call the

svn commit: r360129 - head/contrib/llvm-project/clang/lib/CodeGen

2020-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 17:39:51 2020 New Revision: 360129 URL: https://svnweb.freebsd.org/changeset/base/360129 Log: Merge commit ce5173c0e from llvm git (by Reid Kleckner): Use FinishThunk to finish musttail thunks FinishThunk, and the invariant of setting and then

Re: svn commit: r359981 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-15 Thread Dimitry Andric
On 15 Apr 2020, at 21:10, Cy Schubert wrote: > > In message <202004151843.03fihi1w031...@repo.freebsd.org>, Dimitry Andric > writes: >> Author: dim >> Date: Wed Apr 15 18:43:44 2020 >> New Revision: 359981 >> URL: https://svnweb.freebsd.org/changeset/ba

svn commit: r359994 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-15 Thread Dimitry Andric
Author: dim Date: Wed Apr 15 21:06:38 2020 New Revision: 359994 URL: https://svnweb.freebsd.org/changeset/base/359994 Log: Revert commit b6cf400aa fro llvm git (by Nemanja Ivanovic): Fix bots after a9ad65a2b34f In the last commit, I neglected to initialize the new subtarget

svn commit: r359981 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-15 Thread Dimitry Andric
Author: dim Date: Wed Apr 15 18:43:44 2020 New Revision: 359981 URL: https://svnweb.freebsd.org/changeset/base/359981 Log: Revert commit a9ad65a2b from llvm git (by Nemanja Ivanovic): [PowerPC] Change default for unaligned FP access for older subtargets This is a fix for

svn commit: r359826 - head/contrib/llvm-project/clang/lib/CodeGen

2020-04-12 Thread Dimitry Andric
Author: dim Date: Sun Apr 12 16:06:59 2020 New Revision: 359826 URL: https://svnweb.freebsd.org/changeset/base/359826 Log: Merge commit 30588a739 from llvm git (by Erich Keane): Make target features check work with ctor and dtor- The problem was reported in PR45468, applying

svn commit: r359578 - head/contrib/llvm-project/lldb/bindings

2020-04-02 Thread Dimitry Andric
Author: dim Date: Thu Apr 2 19:56:43 2020 New Revision: 359578 URL: https://svnweb.freebsd.org/changeset/base/359578 Log: Merge once more from ^/vendor/llvm-project/release-10.x, to get the lldb/bindings directory, which will be used to provide lua bindings for lldb. Requested by:

svn commit: r359576 - vendor/llvm-project/llvmorg-10.0.0-0-gd32170dbd5b

2020-04-02 Thread Dimitry Andric
Author: dim Date: Thu Apr 2 19:54:01 2020 New Revision: 359576 URL: https://svnweb.freebsd.org/changeset/base/359576 Log: Remove llvm-project tag llvmorg-10.0.0-0-gd32170dbd5b (aka 10.0.0 release), for re-tagging. Deleted: vendor/llvm-project/llvmorg-10.0.0-0-gd32170dbd5b/

svn commit: r359575 - in vendor/llvm-project/release-10.x/lldb/bindings: . interface lua python

2020-04-02 Thread Dimitry Andric
Author: dim Date: Thu Apr 2 19:52:43 2020 New Revision: 359575 URL: https://svnweb.freebsd.org/changeset/base/359575 Log: Add lldb/bindings to vendor area, since emaste is going to add support for lldb's lua bindings. Added: vendor/llvm-project/release-10.x/lldb/bindings/

svn commit: r359577 - vendor/llvm-project/llvmorg-10.0.0-0-gd32170dbd5b

2020-04-02 Thread Dimitry Andric
Author: dim Date: Thu Apr 2 19:54:35 2020 New Revision: 359577 URL: https://svnweb.freebsd.org/changeset/base/359577 Log: Re-tag llvm-project tag llvmorg-10.0.0-0-gd32170dbd5b (aka 10.0.0 release). Added: vendor/llvm-project/llvmorg-10.0.0-0-gd32170dbd5b/ - copied from r359576,

svn commit: r359337 - vendor/llvm-project/llvmorg-10.0.0-0-gd32170dbd5b

2020-03-26 Thread Dimitry Andric
Author: dim Date: Thu Mar 26 17:41:33 2020 New Revision: 359337 URL: https://svnweb.freebsd.org/changeset/base/359337 Log: Tag llvm-project tag llvmorg-10.0.0-0-gd32170dbd5b (aka 10.0.0 release). Added: vendor/llvm-project/llvmorg-10.0.0-0-gd32170dbd5b/ - copied from r359336,

svn commit: r359336 - in vendor/llvm-project/release-10.x: clang/include/clang/Sema clang/lib/Driver/ToolChains clang/lib/Parse clang/lib/Sema llvm/lib/Transforms/Scalar

2020-03-26 Thread Dimitry Andric
Author: dim Date: Thu Mar 26 17:40:50 2020 New Revision: 359336 URL: https://svnweb.freebsd.org/changeset/base/359336 Log: Vendor import of llvm-project tag llvmorg-10.0.0-0-gd32170dbd5b (aka 10.0.0 release). Modified: vendor/llvm-project/release-10.x/clang/include/clang/Sema/Sema.h

svn commit: r359338 - in head: contrib/llvm-project/clang/include/clang/Sema contrib/llvm-project/clang/lib/Driver/ToolChains contrib/llvm-project/clang/lib/Parse contrib/llvm-project/clang/lib/Sem...

2020-03-26 Thread Dimitry Andric
Author: dim Date: Thu Mar 26 17:46:32 2020 New Revision: 359338 URL: https://svnweb.freebsd.org/changeset/base/359338 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp llvmorg-10.0.0-0-gd32170dbd5b (aka 10.0.0 release). PR: 244251 MFC after:6

svn commit: r359334 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-03-26 Thread Dimitry Andric
Author: dim Date: Thu Mar 26 17:28:54 2020 New Revision: 359334 URL: https://svnweb.freebsd.org/changeset/base/359334 Log: Merge commit 459e8e948 from llvm git (by Justin Hibbits): [PowerPC]: Don't allow r0 as a target for LD_GOT_TPREL_L/32 Summary: The linker is free to relax

svn commit: r359333 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-03-26 Thread Dimitry Andric
Author: dim Date: Thu Mar 26 17:27:41 2020 New Revision: 359333 URL: https://svnweb.freebsd.org/changeset/base/359333 Log: Merge commit f0990e104 from llvm git (by Justin Hibbits): [PowerPC]: e500 target can't use lwsync, use msync instead The e500 core has a silicon bug that

svn commit: r359155 - in stable/12/stand/i386: . boot2 gptboot gptzfsboot isoboot loader zfsboot

2020-03-19 Thread Dimitry Andric
Author: dim Date: Thu Mar 19 22:33:24 2020 New Revision: 359155 URL: https://svnweb.freebsd.org/changeset/base/359155 Log: MFC r358643: Link stand/i386 components using a linker script LLD 10.0.0 changed the behavior of the -Ttext option, so that using -Ttext=0x0 now causes linking

svn commit: r359087 - head/contrib/llvm-project/libcxx/include

2020-03-18 Thread Dimitry Andric
Author: dim Date: Wed Mar 18 20:50:30 2020 New Revision: 359087 URL: https://svnweb.freebsd.org/changeset/base/359087 Log: Merge commit 585a3cc31 from llvm git (by me): Fix -Wdeprecated-copy-dtor and -Wdeprecated-dynamic-exception-spec warnings. Summary: The former are

svn commit: r359086 - head/contrib/llvm-project/llvm/lib/Transforms/Scalar

2020-03-18 Thread Dimitry Andric
Author: dim Date: Wed Mar 18 20:44:40 2020 New Revision: 359086 URL: https://svnweb.freebsd.org/changeset/base/359086 Log: Merge commit b8ebc11f0 from llvm git (by Sanjay Patel): [EarlyCSE] avoid crashing when detecting min/max/abs patterns (PR41083) As discussed in PR41083:

svn commit: r359085 - head/contrib/llvm-project/lld/ELF

2020-03-18 Thread Dimitry Andric
Author: dim Date: Wed Mar 18 20:38:15 2020 New Revision: 359085 URL: https://svnweb.freebsd.org/changeset/base/359085 Log: Merge commit 315f8a55f from llvm git (by Fangrui Song): [ELF][PPC32] Don't report "relocation refers to a discarded section" for .got2 Similar to D63182

svn commit: r359084 - in head/contrib/llvm-project/lld/ELF: . Arch

2020-03-18 Thread Dimitry Andric
Author: dim Date: Wed Mar 18 20:28:26 2020 New Revision: 359084 URL: https://svnweb.freebsd.org/changeset/base/359084 Log: Merge commit 00925aadb from llvm git (by Fangrui Song): [ELF][PPC32] Fix canonical PLTs when the order does not match the PLT order Reviewed By: Bdragon28

svn commit: r359082 - in head: contrib/llvm-project/clang/include/clang/AST contrib/llvm-project/clang/include/clang/Sema contrib/llvm-project/clang/lib/AST contrib/llvm-project/clang/lib/Lex contr...

2020-03-18 Thread Dimitry Andric
Author: dim Date: Wed Mar 18 18:26:53 2020 New Revision: 359082 URL: https://svnweb.freebsd.org/changeset/base/359082 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp llvmorg-10.0.0-rc4-5-g52c365aa9ca. The actual release should follow Real Soon Now. PR:

svn commit: r359080 - vendor/llvm-project/llvmorg-10.0.0-rc4-5-g52c365aa9ca

2020-03-18 Thread Dimitry Andric
Author: dim Date: Wed Mar 18 18:20:55 2020 New Revision: 359080 URL: https://svnweb.freebsd.org/changeset/base/359080 Log: Tag llvm-project branch release/10.x llvmorg-10.0.0-rc4-5-g52c365aa9ca. Added: vendor/llvm-project/llvmorg-10.0.0-rc4-5-g52c365aa9ca/ - copied from r359079,

svn commit: r359079 - in vendor/llvm-project/release-10.x: clang/include/clang/AST clang/include/clang/Sema clang/lib/AST clang/lib/Lex clang/lib/Sema clang/lib/Serialization clang/tools/driver llv...

2020-03-18 Thread Dimitry Andric
Author: dim Date: Wed Mar 18 18:20:05 2020 New Revision: 359079 URL: https://svnweb.freebsd.org/changeset/base/359079 Log: Vendor import of llvm-project branch release/10.x llvmorg-10.0.0-rc4-5-g52c365aa9ca. Modified: vendor/llvm-project/release-10.x/clang/include/clang/AST/Expr.h

svn commit: r358991 - stable/12/tools/build/mk

2020-03-14 Thread Dimitry Andric
Author: dim Date: Sat Mar 14 11:55:27 2020 New Revision: 358991 URL: https://svnweb.freebsd.org/changeset/base/358991 Log: MFC r348677 (by emaste): move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc After r348610 `make delete-old` was still removing llvm-ar

svn commit: r358907 - head

2020-03-12 Thread Dimitry Andric
Author: dim Date: Thu Mar 12 11:39:04 2020 New Revision: 358907 URL: https://svnweb.freebsd.org/changeset/base/358907 Log: Allow -DNO_CLEAN build across r358851. The openmp 10.0.0 import renamed one .c file to .cpp, and this is something our dependency system does not handle correctly.

svn commit: r358857 - head/lib/clang/libllvm

2020-03-10 Thread Dimitry Andric
Author: dim Date: Tue Mar 10 20:25:36 2020 New Revision: 358857 URL: https://svnweb.freebsd.org/changeset/base/358857 Log: Move another file in libllvm from sources required for world, to sources required for bootstrap, as the PowerPC builds need this. Reported by: bdragon PR:

svn commit: r358854 - head/lib/clang/libllvmminimal

2020-03-10 Thread Dimitry Andric
Author: dim Date: Tue Mar 10 20:01:52 2020 New Revision: 358854 URL: https://svnweb.freebsd.org/changeset/base/358854 Log: Add one additional file to libllvmminimal, to help the ppc64 bootstrap. Reported by: bdragon PR: 244251 MFC after:6 weeks X-MFC-With: 358851

svn commit: r358802 - in stable/12/contrib/llvm-project/clang: include/clang/Basic lib/CodeGen lib/Sema

2020-03-09 Thread Dimitry Andric
Author: dim Date: Mon Mar 9 07:12:02 2020 New Revision: 358802 URL: https://svnweb.freebsd.org/changeset/base/358802 Log: MFC r358711: Merge commit f75939599 from llvm git (by Erich Keane): Reland r374450 with Richard Smith's comments and test fixed. The behavior from the

svn commit: r358711 - in head/contrib/llvm-project/clang: include/clang/Basic lib/CodeGen lib/Sema

2020-03-06 Thread Dimitry Andric
Author: dim Date: Fri Mar 6 17:02:14 2020 New Revision: 358711 URL: https://svnweb.freebsd.org/changeset/base/358711 Log: Merge commit f75939599 from llvm git (by Erich Keane): Reland r374450 with Richard Smith's comments and test fixed. The behavior from the original patch has

Re: svn commit: r358655 - head/sbin/mount_nfs

2020-03-05 Thread Dimitry Andric
On 5 Mar 2020, at 22:01, Gleb Smirnoff wrote: > > On Thu, Mar 05, 2020 at 09:30:41PM +0300, Slawa Olhovchenkov wrote: > S> > > On Thu, Mar 05, 2020 at 08:35:15PM +0300, Slawa Olhovchenkov wrote: > S> > > S> > > D> sbin/mount_nfs/mount_nfs.c:549:10: error: cast from 'char *' > to 'struct > S> >

Re: svn commit: r358655 - head/sbin/mount_nfs

2020-03-05 Thread Dimitry Andric
On 5 Mar 2020, at 18:44, Gleb Smirnoff wrote: > > On Thu, Mar 05, 2020 at 08:35:15PM +0300, Slawa Olhovchenkov wrote: > S> > > D> sbin/mount_nfs/mount_nfs.c:549:10: error: cast from 'char *' to > 'struct > S> > > D> if_msghdr *' increases required alignment from 1 to 4 > S> > > D>

svn commit: r358680 - vendor/llvm-project/llvmorg-10.0.0-rc3-1-gc290cb61fdc

2020-03-05 Thread Dimitry Andric
Author: dim Date: Thu Mar 5 18:06:29 2020 New Revision: 358680 URL: https://svnweb.freebsd.org/changeset/base/358680 Log: Tag llvm-project branch release/10.x llvmorg-10.0.0-rc3-1-gc290cb61fdc. Added: vendor/llvm-project/llvmorg-10.0.0-rc3-1-gc290cb61fdc/ - copied from r358679,

svn commit: r358679 - in vendor/llvm-project/release-10.x: clang/include/clang/AST clang/include/clang/Sema clang/lib/AST clang/lib/Format clang/lib/Parse clang/lib/Sema lld/docs lldb/source/Plugin...

2020-03-05 Thread Dimitry Andric
Author: dim Date: Thu Mar 5 18:05:37 2020 New Revision: 358679 URL: https://svnweb.freebsd.org/changeset/base/358679 Log: Vendor import of llvm-project branch release/10.x llvmorg-10.0.0-rc3-1-gc290cb61fdc. Added: vendor/llvm-project/release-10.x/llvm/include/llvm/Support/Windows/

svn commit: r358677 - head

2020-03-05 Thread Dimitry Andric
Author: dim Date: Thu Mar 5 17:53:38 2020 New Revision: 358677 URL: https://svnweb.freebsd.org/changeset/base/358677 Log: Remove duplicate usr/libexec/cc1plus entry from ObsoleteFiles.inc. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

Re: svn commit: r358655 - head/sbin/mount_nfs

2020-03-05 Thread Dimitry Andric
On 2020-03-04 23:27, Gleb Smirnoff wrote: Author: glebius Date: Wed Mar 4 22:27:16 2020 New Revision: 358655 URL: https://svnweb.freebsd.org/changeset/base/358655 Log: When a machine boots the NFS mounting script is executed after interfaces are configured, but for many interfaces (e.g.

svn commit: r358643 - in head/stand/i386: . boot2 gptboot gptzfsboot isoboot loader zfsboot

2020-03-04 Thread Dimitry Andric
Author: dim Date: Wed Mar 4 21:01:22 2020 New Revision: 358643 URL: https://svnweb.freebsd.org/changeset/base/358643 Log: Link stand/i386 components using a linker script LLD 10.0.0 changed the behavior of the -Ttext option, so that using -Ttext=0x0 now causes linking of the loaders to

svn commit: r358591 - in stable: 11/sys/arm/arm 12/sys/arm/arm

2020-03-03 Thread Dimitry Andric
Author: dim Date: Tue Mar 3 18:01:03 2020 New Revision: 358591 URL: https://svnweb.freebsd.org/changeset/base/358591 Log: MFC r358407: Merge r358406 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error:

svn commit: r358591 - in stable: 11/sys/arm/arm 12/sys/arm/arm

2020-03-03 Thread Dimitry Andric
Author: dim Date: Tue Mar 3 18:01:03 2020 New Revision: 358591 URL: https://svnweb.freebsd.org/changeset/base/358591 Log: MFC r358407: Merge r358406 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error:

svn commit: r358528 - stable/12/etc/mtree

2020-03-01 Thread Dimitry Andric
Author: dim Date: Mon Mar 2 07:13:00 2020 New Revision: 358528 URL: https://svnweb.freebsd.org/changeset/base/358528 Log: MFC r357929: Remove /usr/include/ssp from BSD.include.dist after r356356 This avoids having to delete it every time with "make delete-old". PR:

svn commit: r358527 - in stable/12: . share/mk

2020-03-01 Thread Dimitry Andric
Author: dim Date: Mon Mar 2 07:11:37 2020 New Revision: 358527 URL: https://svnweb.freebsd.org/changeset/base/358527 Log: MFC r358132: Take LINKER_FREEBSD_VERSION from numerical field after dash Summary: With COMPILER_FREEBSD_VERSION, we use a numeric value that we bump each time

svn commit: r358465 - head/sys/arm64/arm64

2020-02-29 Thread Dimitry Andric
Author: dim Date: Sat Feb 29 14:11:27 2020 New Revision: 358465 URL: https://svnweb.freebsd.org/changeset/base/358465 Log: Fix the following -Werror warning from clang 10.0.0: sys/arm64/arm64/identcpu.c:1170:5: error: misleading indentation; statement is not part of the previous 'if'

svn commit: r358407 - head/sys/arm/arm

2020-02-27 Thread Dimitry Andric
Author: dim Date: Thu Feb 27 19:59:17 2020 New Revision: 358407 URL: https://svnweb.freebsd.org/changeset/base/358407 Log: Merge r358406 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error: misleading

svn commit: r358398 - vendor/llvm-project/llvmorg-10.0.0-rc2-70-ge5cb70267e7

2020-02-27 Thread Dimitry Andric
Author: dim Date: Thu Feb 27 19:00:35 2020 New Revision: 358398 URL: https://svnweb.freebsd.org/changeset/base/358398 Log: Tag llvm-project branch release/10.x llvmorg-10.0.0-rc2-70-ge5cb70267e7. Added: vendor/llvm-project/llvmorg-10.0.0-rc2-70-ge5cb70267e7/ - copied from r358397,

<    1   2   3   4   5   6   7   8   9   10   >