Fix HelloComputeNDK fail to compile with clang

The compound statement where librs.mono.so is linked doesn't
have TARGET_LDFLAGS which contains "-target" and "gcc-toolchain"
needed by clang to looks for correct ld.  The /usr/bin/ld is used
by default and fail with message

  /usr/bin/ld: skipping incompatible ...platforms/android-19/arch-arm/usr/lib/rs/libRSSupport.so when searching for -lRSSupport
  /usr/bin/ld: skipping incompatible ...platforms/android-19/arch-arm/usr/lib/libm.so when searching for -lm
  /usr/bin/ld: skipping incompatible ...platforms/android-19/arch-arm/usr/lib/libm.so when searching for -lc

On Mac where linker option "-soname" is called "-install_name", the error message reads:

  ld: unknown option: -soname

BUG=16521063

Change-Id: Iaf158e2defb1de40a48ee895353590c13b5aea73
Add test for a case where GCC4.9/arm generates incorrect code

Change-Id: Ib3bf61df24fa143eb230586a0648d123caedbda7
Merge "Exclude variables in libgcc.a from NDK *so"
Merge "Fix HelloComputeNDK fail to compile with clang"
Merge "Add test for a case where GCC4.9/arm generates incorrect code"
Exclude variables in libgcc.a from NDK *so

Shared libraries in NDK are generated from list of symbols
crated by running gen-system-symbols.sh on the real shared libraries.
The list may contain symbols merged from libgcc.a when the real
*so is linked, and should be removed.

Previously only functions in libgcc.a are excluded.  This CL
removes variables in libgcc.a as well.  Currently "__popcount_tab"
is only symbol affected

Change-Id: I3fb9fe712e958e9bf8879a7c115fe463916e160f
Remove most of android/support from linking into 64-bit libc++ libraries

Since dfb5ce42bcc5a275af49211c0bbe64c5ec3d2668 bionic has
all libraries except catopen/catgets/catclose needed for linking
64-bit libc++ libraries

Change-Id: I5d4e1552eed101213059613e779e242c0cfb2f50
Merge "Remove most of android/support from linking into 64-bit libc++ libraries"