Remove a #warning in security.c which gets triggered on OS X.
Fix a warning in atomic.c.
Disable `perf` support in the profiler when running on Android (for now).

We need to assess the situation before we enable this everywhere. Apparently
some older devices have trouble with `perf`.
[x86] Arguments to calls are passed via moves, instead of pushes.

I release these changes under the MIT license.
[arm] Fix OP_ATOMIC_CAS_I4.
Revert "Fix a warning in atomic.c."

This reverts commit 1fdc8789a7f4bfc6fa7f67c126569765194a3b6c.

This breaks the ios build:

../../../../../mono/mono/utils/atomic.c: In function ‘InterlockedCompareExchange64’:
../../../../../mono/mono/utils/atomic.c:572: error: ‘spin’ undeclared (first use in this function)
../../../../../mono/mono/utils/atomic.c:572: error: (Each undeclared identifier is reported only once
../../../../../mono/mono/utils/atomic.c:572: error: for each function it appears in.)
Merge branch 'master' of github.com:mono/mono
Mark the `spin` variable in atomic.c as G_GNUC_UNUSED.

It would require an `#ifdef` forest to get the conditions
under which it is used right.
Bring the implementation of the 64-bit CAS fallback in line with the 32-bit one.
Fix the build. We've been missing this include for ages...
Revert unintentional change.
Compile libgc with -Wno-deprecated-declarations as it uses some obsolete POSIX APIs.
Disable -Wreturn-local-addr in libgc/mark_rts.c!GC_approx_sp with GCC 4.8.0+.
Disable -Warray-bounds in eglib/src/sort.frag.h!insert_list in GCC 4.6.0+.
Mark an unused variable as such in eglib/test/file.c.
Add missing prototypes in ikvm-native.
Silence unused mkstemp result warnings in jay.
Add g_assert_not_reached () to mono_gc_pthread_exit ().

On Android, pthread_exit () is not decorated as noreturn.
Wrap deadce_has_run variable in DISABLE_SSA ifdef.
Move shared_area_disabled () behind ifdef.