Update TOOL_REVISIONS for PNaCl r12624->r12640

Pull the following PNaCl changes into NaCl:
  r12628: (dschuff@chromium.org) toolchain_build_pnacl.py: Build newlib
  r12633: (dschuff@chromium.org) Add missing import to toolchain_build.py
  r12635: (mcgrathr@chromium.org) Don't pass -D_I386MACH_ALLOW_HW_INTERRUPTS explicitly in newlib build
  r12636: (mseaborn@chromium.org) PNaCl: Fix "verify" step that checks for ARM hard-float ABI tag in .o files
  r12637: (mseaborn@chromium.org) PNaCl: Turn off LLVM's auto-vectorizer in driver script for now
  r12640: (mseaborn@chromium.org) PNaCl: Update libcxxabi revision to merge from upstream

BUG= none
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3719
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3757
BUG= cleanup
R= jvoung@chromium.org, mseaborn@chromium.org, mcgrathr@chromium.org, bradnelson@google.com, dschuff@chromium.org
TEST=git try
NOTRY=true
(Please LGTM this change and tick the "commit" box)

Review URL: https://codereview.chromium.org/139643004

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12641 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Process creation test

This test exercise the process creation infrastructure and demonstrates its usage.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3019
TESTS= small_tests
R=bsy@google.com

Review URL: https://codereview.chromium.org/11008004

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12642 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Fix warning from Clang 3.4 about unused variable in ARM build

Clang warns about kX86KnownFlagsMask being unused.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3757
TEST=tested with LLVM 3.4 merged
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/142483002

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12643 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
mmap main nexe if fd is "essentially immutable"

https://codereview.chromium.org/83303004/ (or https://codereview.chromium.org/83303007/ -- upload issues, will be retrying) is needed plugin-side to benefit from this change.

The test uses sel_universal and NACL_FI to ensure that the mmap code path is hit, and that the nexe runs successfully.

BUG= https://codereview.chromium.org/83303004/
TEST= run_mmap_main_nexe_rpc
R=ncbray@chromium.org

Review URL: https://codereview.chromium.org/64553019

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12644 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS

This pulls in the following LLVM change:

ecaa2b4: (kschimpf@google.com) Add (nested) distribution maps to pnacl-bccompress.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3720
TEST= PNaCl toolchain trybots
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/140843011

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12645 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
PNaCl: Update Clang revision in pnacl/COMPONENT_REVISIONS: remove localmods

This pulls in the following Clang change:

0196efe: (mseaborn@chromium.org) Revert unused profiling-related localmods

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3757
TEST= PNaCl toolchain trybots
R=bradnelson@google.com

Review URL: https://codereview.chromium.org/142743003

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12646 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Make debug stub partly work under qemu-arm: change breakpoint instruction

qemu-arm exits when it sees the BKPT instruction without passing the
fault on to the signal handler.  So use an illegal instruction for
breakpoints instead, so that these work under qemu-arm.

This means we must now map SIGILL to SIGTRAP for breakpoints.  (We
already map SIGSEGV to SIGTRAP for breakpoints on x86.)

This change makes the debug stub work under qemu-arm for some
single-threaded use.  Suspending running threads still does not work
under qemu-arm.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3739
TEST=run_faulted_thread_queue_test + some manual testing of debug stub
R=bradnelson@google.com

Review URL: https://codereview.chromium.org/136473018

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12647 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Debug stub: Enable most tests under qemu-arm

Some tests hang under qemu-arm, but the rest can be enabled.  This is
now just a matter of plumbing, to ensure that qemu-arm is added into
the command line in the right place.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3739
TEST=run_debug_stub_test
R=bradnelson@google.com

Review URL: https://codereview.chromium.org/137553003

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12648 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Update TOOL_REVISIONS for PNaCl r12640->r12646

Pull the following PNaCl changes into NaCl:
  r12645: (kschimpf@google.com) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
    | ecaa2b4: (kschimpf@google.com) Add (nested) distribution maps to pnacl-bccompress.
  r12646: (mseaborn@chromium.org) PNaCl: Update Clang revision in pnacl/COMPONENT_REVISIONS: remove localmods
    | 0196efe: (mseaborn@chromium.org) Revert unused profiling-related localmods

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3720
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3757
R= jvoung@chromium.org, mseaborn@chromium.org, kschimpf@google.com, bradnelson@google.com
TEST=git try
NOTRY=true
(Please LGTM this change and tick the "commit" box)

Review URL: https://codereview.chromium.org/144733002

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12649 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
[MIPS] Update untrusted.gypi

Add missing block for translating newlib pexe to MIPS nexe.
Use libstdc++ to match the change from r12484, for consistency with the
builds on x86-64, x86-32 and ARM.

BUG= build breaks for irt.nexe and newlib.nexe for MIPS
TEST= build Chromium with NaCl turned on

Review URL: https://codereview.chromium.org/135303009

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12650 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
GDB tests: Factor out duplication in nacl.scons file

Introduce an AddGdbTest() function.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3739
TEST=gdb_tests
R=bradnelson@google.com

Review URL: https://codereview.chromium.org/144623002

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12651 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
PNaCl: Update Binutils revision in pnacl/COMPONENT_REVISIONS

This pulls in the following Binutils change:

1aa94a9: (dschuff@chromium.org) Remove unused typedefs in Mips gold backend

BUG=none
TEST= PNaCl toolchain trybots
R=jfb@chromium.org

Review URL: https://codereview.chromium.org/131973016

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12652 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Update ARM sysroot image builder.

Also, fix the qemu build and start building it again rather
than re-using an old binary.  (I finally got it to rebuild
on precise).

R=jfb@chromium.org

Review URL: https://codereview.chromium.org/129823002

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12653 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Install MinGW on windows hosts and build libdl

Check for an installed mingw-w64 compiler. If it is not present, check for a zip file which contains it, and if that is not present, attempt to download it from Google Storage.

Also bump TOOLS_REV for deps and build libdl, which should allow binutils and LLVM to build successfully.

R=bradnelson@google.com, jvoung@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3719

Review URL: https://codereview.chromium.org/143873014

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12656 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12657 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
toolchain_build_pnacl: build bitcode target libs

Add (portable) bitcode versions of libc++, libstdc++ and libs_support_bitcode to the toolchain_build_pnacl build.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3719
R=jvoung@chromium.org, jfb, jvoung

Review URL: https://codereview.chromium.org/141803012

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12658 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Clean up trybot selection

Select the union of the appropriate subset of the set of three sets.

BUG= none
TEST= trybots
R=dschuff@chromium.org, bradnelson@google.com, noelallen@chromium.org

Review URL: https://codereview.chromium.org/145003017

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12659 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
toolchain_build_pnacl: Build native target libraries

Build libs_support_native, compiler_rt, libgcc_eh and the dummy IRT shim
as native target libraries.

R=jvoung@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3719

Review URL: https://codereview.chromium.org/147443003

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12660 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Explicitly excluding some glibc tests.

Excluded a set of glibc tests currently excluded automatically due to
ftruncate link warnings.

When this lands: https://codereview.chromium.org/145263007/,
the automatic mechanism will no longer exclude them.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3583
TEST=local check
R=mseaborn@chromium.org, ncbray@chromium.org

Review URL: https://codereview.chromium.org/130513004

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12661 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Windows: Pick a temp directory on the same drive as the working dir

This will hopefully prevent the observed failures in cleaning temp dirs
on Windows

R=bradnelson@google.com

Review URL: https://codereview.chromium.org/148183009

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@12662 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2