LLVM/llvm 335414llvm/trunk/lib/Target/X86/MCTargetDesc X86MCCodeEmitter.cpp, llvm/trunk/test/MC/X86 x86_64-encoding.s

[X86] Make %eiz usage in 64-bit mode, force a 0x67 address size prefix. Fix some test 
CHECK lines.

LLVM/llvm 335413llvm/trunk/lib/Target/X86/Disassembler X86Disassembler.cpp, llvm/trunk/test/MC/Disassembler/X86 x86-64.txt

[X86] Teach disassembler to use %eip instead of %rip when 0x67 prefix is used on a 
rip-relative address.

LLVM/llvm 335412llvm/trunk/lib/Target/X86/AsmParser X86AsmParser.cpp, llvm/trunk/test/MC/X86 x86_errors.s

[X86][AsmParser] Improve base/index register checks.

-Ensure EIP isn't used with an index reigster.
-Ensure EIP isn't used as index register.
-Ensure base register isn't a vector register.
-Ensure eiz/riz usage matches the size of their base register.

HardenedBSD/hardenedbsd fa1eafaetc/rc.d ntpd, sys/fs/nfs nfs_commonsubs.c nfs.h

Merge remote-tracking branch 'origin/hardened/current/master' into 
hardened/current/unstable

* origin/hardened/current/master:
  top(1): show CPU state breakdown on first run
  Use 'mv -f' in rc.d/ntpd to avoid spuriously halting the boot.
  powerpc64: Fix stack setup in dbtrap
  Set the slotid and ND_HASSLOTID flag for NFSv4.1 sequenced operations.
  Define ND_HASSLOTID needed by r335568.

HardenedBSD/hardenedbsd 820468cetc/rc.d ntpd, sys/fs/nfs nfs_commonsubs.c nfs.h

Merge branch 'freebsd/current/master' into hardened/current/master

* freebsd/current/master:
  top(1): show CPU state breakdown on first run
  Use 'mv -f' in rc.d/ntpd to avoid spuriously halting the boot.
  powerpc64: Fix stack setup in dbtrap
  Set the slotid and ND_HASSLOTID flag for NFSv4.1 sequenced operations.
  Define ND_HASSLOTID needed by r335568.

HardenedBSD/hardenedbsd 4713b47lib/libthr/support Makefile.inc, sys/amd64/amd64 exception.S cpu_switch.S

Merge remote-tracking branch 'origin/hardened/11-stable/master' into 
hardened/11-stable/unstable

* origin/hardened/11-stable/master:
  MFC r335258: Remove unused file.
  MFC r333059 (by tychon): Expand the checks for UCR3 == PMAP_NO_CR3 to enable processes 
to be excluded from PTI.

LLVM/llvm 335411llvm/trunk/lib/Transforms/Scalar LICM.cpp, llvm/trunk/test/Transforms/LICM hoist-fast-fdiv.ll

Fix invariant fdiv hoisting in LICM

FDiv is replaced with multiplication by reciprocal and invariant
reciprocal is hoisted out of the loop, while multiplication remains
even if invariant.

Switch checks for all invariant operands and only invariant
denominator to fix the issue.

Differential Revision: https://reviews.llvm.org/D48447

FreeBSD/ports 473112head/devel/elfutils Makefile distinfo, head/devel/elfutils/files patch-backends_sparc__initreg.c patch-tests_Makefile.am

Update devel/elfutils to 0.172

- Sparc patch no longer applies cleanly and was dropped.
- Other patches updated to apply to 0.172.
- stable/10 and 11.0 lack needed ELF header types; and 10 is closed.  Skip
  building on these (PR).
- gnulib handling was reverted to pre-r454110 style to allow using pkg.

PR:            228478
Reported by:    portscout

HardenedBSD/hardenedbsd 3771fb0lib/libthr/support Makefile.inc, sys/amd64/amd64 exception.S cpu_switch.S

Merge branch 'freebsd/11-stable/master' into hardened/11-stable/master

* freebsd/11-stable/master:
  MFC r335258: Remove unused file.
  MFC r333059 (by tychon): Expand the checks for UCR3 == PMAP_NO_CR3 to enable processes 
to be excluded from PTI.

NetBSD/src V63jzv1sys/kern sys_ptrace_common.c

   Add some debugging in case someone else wants to debug gdb...
VersionDeltaFile
1.45+29-5sys/kern/sys_ptrace_common.c
+29-51 files

NetBSD/src pyv922Gsys/dev auconv.c

   Add all encoding supported by the mixer.

   Addresses PR kern/52585.
VersionDeltaFile
1.36+22-108sys/dev/auconv.c
+22-1081 files

HardenedBSD/hardenedbsd 8a125fausr.bin/top top.c

top(1): show CPU state breakdown on first run

There is no documented reason for this not to be shown on the first run.
I can't find any good reason, and it breaks batch mode.

PR:            218889
Submitted by:   "Jeremy C. Reed" <reed at reedmedia.net>
DeltaFile
+1-20usr.bin/top/top.c
+1-201 files

FreeBSD/src 335576head/usr.bin/top top.c

top(1): show CPU state breakdown on first run

There is no documented reason for this not to be shown on the first run.
I can't find any good reason, and it breaks batch mode.

PR:            218889
Submitted by:   "Jeremy C. Reed" <reed at reedmedia.net>

NetBSD/src 85nalqBexternal/gpl3/gdb/dist/gdb nbsd-nat.c inf-ptrace.c

   Fix thread debugging.

LLVM/llvm 335410cfe/trunk/cmake/caches Fuchsia-stage2.cmake, cfe/trunk/lib/Driver/ToolChains Fuchsia.cpp

[Fuchsia] Enable static libc++, libc++abi, libunwind

This is needed for building Fuchsia drivers.

Differential Revision: https://reviews.llvm.org/D48208

LLVM/llvm 335409llvm/trunk/lib/Target/AMDGPU AMDGPUIntrinsicInfo.cpp AMDGPUIntrinsicInfo.h

[AMDGPU] Update includes for intrinsic changes :(

HardenedBSD/hardenedbsd 7db692aetc/rc.d ntpd

Use 'mv -f' in rc.d/ntpd to avoid spuriously halting the boot.

The final 'mv' to install a fetched leap-list file can fail (due to a
readonly fs, or schg flags, for example), and that leads to mv(1)
prompting the user, stopping the boot process.  Instead, use mv -f
to supress the prompting, and if verbose mode is on, emit a warning
that the existing file cannot be replaced.

PR:            219255
DeltaFile
+2-1etc/rc.d/ntpd
+2-11 files

FreeBSD/src 335575head/etc/rc.d ntpd

Use 'mv -f' in rc.d/ntpd to avoid spuriously halting the boot.

The final 'mv' to install a fetched leap-list file can fail (due to a
readonly fs, or schg flags, for example), and that leads to mv(1)
prompting the user, stopping the boot process.  Instead, use mv -f
to supress the prompting, and if verbose mode is on, emit a warning
that the existing file cannot be replaced.

PR:            219255
DeltaFile
+2-1head/etc/rc.d/ntpd
+2-11 files

LLVM/llvm 335408llvm/trunk/lib/ExecutionEngine/Orc Core.cpp

[ORC] Fix formatting and list pending queries in VSO::dump.

LLVM/llvm 335407llvm/trunk/include/llvm/IR CMakeLists.txt, llvm/trunk/lib/IR Function.cpp

[IR] Split Intrinsics.inc into enums and implementations

Implements PR34259

Intrinsics.h is a very popular header. Most LLVM TUs care about things
like dbg_value, but they don't care how they are implemented. After I
split these out, IntrinsicImpl.inc is 1.7 MB, so this saves each LLVM TU
from scanning 1.7 MB of source that gets pre-processed away.

It also means we can modify intrinsic properties without triggering a
full rebuild, but that's probably less of a win.

I think the next best thing to do would be to split out the target
intrinsics into their own header. Very, very few TUs care about
target-specific intrinsics. It's very hard to split up the target
independent intrinsics like llvm.expect, assume, and dbg.value, though.

NetBSD/src pqcjQ3xsys/arch/aarch64/conf Makefile.aarch64

   locore.S is a MD_SFILES.

   This keeps the dependency handling in the loop, so rebuilds after
   changing options, say EARLYCONS, don't fail.

FreeBSD/src 335574head/sys/powerpc/aim trap_subr64.S

powerpc64: Fix stack setup in dbtrap

r330610 relocated the DMAP from the base of memory to the base of the fourth
quadrant of memory.  This broke synthetic traps, such as KDB forced
breakpoints.  Use GET_TOCBASE() so the DMAP offset is handled.

Submitted by:   git_bdragon.rkt0.net
Differential Revision:  https://reviews.freebsd.org/D15973

HardenedBSD/hardenedbsd ab4568csys/powerpc/aim trap_subr64.S

powerpc64: Fix stack setup in dbtrap

r330610 relocated the DMAP from the base of memory to the base of the fourth
quadrant of memory.  This broke synthetic traps, such as KDB forced
breakpoints.  Use GET_TOCBASE() so the DMAP offset is handled.

Submitted by:   git_bdragon.rkt0.net
Differential Revision:  https://reviews.freebsd.org/D15973

FreeBSD/ports 473111head/security/vault distinfo Makefile

security/vault: update to 0.10.3

NetBSD/src R3JYJRWsys/arch/evbarm/conf MMNET_GENERIC MPCSA_GENERIC, sys/arch/mmeye/conf MMTANEW MMTAICE

   Remove commented out MATH_EMULATE from kernel configs that got it
   by copying an older i386 config.

LLVM/llvm 335406llvm/trunk/include/llvm/Support MathExtras.h

Avoid including intrin.h from MathExtras.h

This is repeatably worth 0.3s compile time on MathExtras.cpp. This is a
very popular header, and it basically pulls all Intel intrinsics into
every LLVM TU. Let's not do that.

OpenBSD/ports p0xMCXElang/flang/flang Makefile distinfo, lang/flang/libpgmath Makefile distinfo

   Update flang to 6.0.0.20180621

HardenedBSD/hardenedbsd f790240sys/fs/nfs nfs_commonsubs.c

Set the slotid and ND_HASSLOTID flag for NFSv4.1 sequenced operations.

Most NFSv4.1 compound RPCs start with a Sequence operation. For these
cases, save the slotid and note that it is saved by setting ND_HASSLOTID.
This is used by r335568 to free up the session slot and disable it.

MFC after:      2 weeks

FreeBSD/src 335573head/sys/fs/nfs nfs_commonsubs.c

Set the slotid and ND_HASSLOTID flag for NFSv4.1 sequenced operations.

Most NFSv4.1 compound RPCs start with a Sequence operation. For these
cases, save the slotid and note that it is saved by setting ND_HASSLOTID.
This is used by r335568 to free up the session slot and disable it.

MFC after:      2 weeks

FreeBSD/src 335572stable 11, stable/11/lib/libthr support

MFC r335258:
Remove unused file.

HardenedBSD/hardenedbsd e0b7d58lib/libthr/support Makefile.inc

MFC r335258:
Remove unused file.

HardenedBSD/hardenedbsd c76a2f1sys/fs/nfs nfs.h

Define ND_HASSLOTID needed by r335568.

r335568 uses a flag called ND_HASSLOTID to indicate that the slotid is set,
so it can free and invalidate it.
This flag needs to be set, which will be done in a subsequent commit.

MFC after:      2 weeks
DeltaFile
+1-0sys/fs/nfs/nfs.h
+1-01 files

FreeBSD/src 335571head/sys/fs/nfs nfs.h

Define ND_HASSLOTID needed by r335568.

r335568 uses a flag called ND_HASSLOTID to indicate that the slotid is set,
so it can free and invalidate it.
This flag needs to be set, which will be done in a subsequent commit.

MFC after:      2 weeks

FreeBSD/ports 473110head/www/py-flexget distinfo Makefile

www/py-flexget: update to 2.13.24

Changes:        https://github.com/Flexget/Flexget/compare/2.13.22...2.13.24

FreeBSD/ports 473109branches 2018Q2, branches/2018Q2/emulators/rpcs3 distinfo Makefile

MFH: r473106

emulators/rpcs3: update to 0.0.5.530

Changes:        https://github.com/RPCS3/rpcs3/compare/c776ff502...78ef205b4
Approved by:    ports-secteam (junovitch, implicit for snapshots)

FreeBSD/ports 473108branches 2018Q2, branches/2018Q2/www/waterfox Makefile

MFH: r473095

www/waterfox: apply some FF61 fix

Approved by:    ports-secteam blanket

FreeBSD/ports 473107head/emulators/citra distinfo Makefile

emulators/citra: update to s20180622

Changes:        https://github.com/citra-emu/citra/compare/964602dfc...f50e505a5

FreeBSD/ports 473106head/emulators/rpcs3 distinfo Makefile

emulators/rpcs3: update to 0.0.5.530

Changes:        https://github.com/RPCS3/rpcs3/compare/c776ff502...78ef205b4

LLVM/llvm 335405llvm/trunk/include/llvm/Object ELFObjectFile.h, llvm/trunk/test/Object objdump-sectionheaders.test

[ELF] Change isSectionData to exclude SHF_EXECINSTR

Summary:
This affects what sections are displayed as "DATA" in llvm-objdump.
The other user llvm-size is unaffected.

Before, a "TEXT" section is also "DATA", which seems weird.
The sh_flags condition matches that of bfd's SEC_DATA but the sh_type
condition uses (== SHF_PROGBITS) instead of bfd's (!= SHT_NOBITS).
bfd's SEC_DATA is not appealing as so many sections will be shown as DATA.

Reviewers: jyknight, Bigcheese

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D48472

LLVM/llvm 335404lld/trunk/test/ELF relro-omagic.s, lld/trunk/test/ELF/linkerscript sections.s memory.s

[ELF] Change llvm-objdump output for D48472: TEXT DATA -> TEXT

Reviewers: jyknight, Bigcheese, espindola

Subscribers: emaste, arichardson, llvm-commits

Differential Revision: https://reviews.llvm.org/D48473

FreeBSD/ports 473105head/security/keybase distinfo Makefile

FreeBSD/ports 473104head/security/kbfs distinfo Makefile

LLVM/llvm 335403llvm/trunk/lib/Target/X86/AsmParser X86AsmParser.cpp

[X86][AsmParser] Rework that allows (%dx) to be used in place of %dx with in/out 
instructions.

Previously, to support (%dx) we left a wide open hole in our 16-bit memory address 
checking. This let this address value be used with any instruction without error in the 
parser. It would later fail in the encoder with an assertion failure on debug builds and 
who knows what on release builds.

This patch passes the mnemonic down to the memory operand parsing function so we can allow 
the (%dx) form only on specific instructions.

FreeBSD/ports 473103head/emulators/qemu-sbruno distinfo Makefile

qemu-user-static update:
 - Increase user stack when emulating aarch64.

Submitted by:   Mikael Urankar <mikael.urankar at gmail.com>

FreeBSD/ports 473102head/sysutils/container-diff distinfo Makefile

Update to 0.10.0

- Update MASTER_SITES
- Update WWW

Changes:        https://github.com/GoogleContainerTools/container-diff/releases

FreeBSD/ports 473101head/devel/byacc distinfo Makefile

FreeBSD/ports 473100head/misc/p5-Geo-Coder-OpenCage distinfo Makefile

FreeBSD/ports 473099head/devel/p5-CPAN-Perl-Releases distinfo Makefile

FreeBSD/ports 473098head/databases/p5-BSON distinfo Makefile

FreeBSD/ports 473097head/archivers/p5-Archive-Tar-Wrapper Makefile distinfo

Update to 0.28

- Update LICENSE
- Add LICENSE_FILE

Changes:        https://metacpan.org/changes/distribution/Archive-Tar-Wrapper