tcmalloc: Use the default TLS model on arm-gcc, CrOS only.

gcc has a bug in  __attribute__ ((tls_model ("initial-exec"))) on arm. This
patch undoes the TLS optimization on arm-gcc.

BUG=682840
TEST=threadlocal_heap_ works as expected; CreateCacheIfNecessary() was only
     called a few times in a reasonably long benchmark.

Review-Url: https://codereview.chromium.org/2640263003
Cr-Original-Commit-Position: refs/heads/master@{#445109}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 07dcf42f46e211a53f7c33ed634cc5f416a3929f
2 files changed
tree: 65f06baaa579b9b1ed96d7d63c6bec517c68b06b
  1. src/