fix build under cygwin
Testsuite fix for duplicate definitions in emitted assembly file
Require linking in library for all files except D interface files.
Replace DCFG_SEMAPHORE_IMPL with cleaner DCFG_THREAD_MODEL
Add gcc.gthr implementation as a generic wrapper for internal thread support
Remove posix-specific Cxx11 gthreads, add win32 support
Implement gcc.emutls to handle TLS emulation on GDC
Implement gthreads recursive mutexes
Fix emutls for x32 and similar archs
Use gthreads for critical/monitor implementations
Assume AIX is _THREAD_SAFE and Lynx is _MULTITHREADED
Merge commit '5b898817d56618a6a5cd929e11f92eae16ca3444' into gdc-4.8
Merge commit 'c5f09b064128589d8297573b2bd6e59a5a54ba94' into gdc-4.8

Reverted some includes in d-system.h
Merge branch 'master' into gdc-4.8
Backport d-objfile.cc for GCC 4.8
[ARM] Implement ASM for test-suite tests
[ARM] Port more test-suite tests

* test42: Ported to standard varargs
* test4, template1.d: Add missing constants for ARM
Skip evaluation order tests on non X86 architectures

See GDC issue #8. Skipping these tests allows running the
remaining tests in arrayop.d
Add support for adjusting the test-suite timeouts
[ARM] Implement math-related stuff in phobos