4-byte align 64-bit values in Get/Set Double/Long for GCC 4.8.

Bug: 10837416
Change-Id: Ibb562407d81c2085666ae8824e7570f22e56eaa7
tools: use '/usr/bin/env python' instead of '/usr/bin/python'

* This is how it is done in other scripts in the AOSP tree, as
  '/usr/bin/python' may be python3 on some distros, which isn't
  supported yet.

Change-Id: I0d9857fc6a122f505953fddcd6244dad75b1838a
Fix ART build with host gcc >=4.7

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Use HOST_CC for host

Signed-off-by: Paul Beeler <sparksco@gmail.com>
New header fix for gcc 4.7 build.

Change-Id: I09b49368c19d3bfb3a81d8e23b0dacf596d3bda7
Include <sys/resource.h> for rlimit.

Change-Id: I0e487f8191e284052d8b82eb942d723147d780a1

Conflicts:
	runtime/native/dalvik_system_ZygoteHooks.cc
Fix linker error with SaberMod-4.8.3 host

Main funtion "Thread* Current()" and sub-funtions static

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Fix NewLocalRef, NewGlobalRef to handle cleared weak globals.

We were not checking for null after decoding the reference, this
meant that we incorrectly created null weak global references instead
of returning null.

Issue: 63929
Change-Id: I9159682e6edad8f415ef8144fc13b9aedd2cceb4
Change thread.h to thread-inl.h to pick up missing Thread::Currnet for debug build in master

Change-Id: I56a4dd18ec1c212f9dbb73b14c0c0623b23c87bd
Change thread.h to thread-inl.h for missing Thread::Current for x86

Change-Id: I83ff019626b284edc8cf7232594f28472d8d9e5b
Change thread.h to thread-inl.h for missing Thread::Current for mips

Change-Id: Ic1c7c1870c1a49ea470d7f86a9565fea9bb85508
Revert "Fix linker error with SaberMod-4.8.3 host"

This reverts commit 09e44c77f4d757da26025eb0c3127a5f115a4592.
Move disassembler out of runtime.

Bug: 9877500.
Change-Id: Ica6d9f5ecfd20c86e5230a2213827bd78cd29a29
Fix detection of art::Thread::Current()

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Revert "Fix NewLocalRef, NewGlobalRef to handle cleared weak globals."

This reverts commit 1e3087318b009f218dd504df9434b652b7efa4d1.
Fix pthread support

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Merge tag 'android-4.4.3_r1.1' into 4.4.3

Android 4.4.3 release 1.1
Merge remote-tracking branch 'saberdroid/kitkat-wip' into kk4.4