Changes to ghc(9)

Changes to ghc:
commit f7be53ac9dac85b83e7fe5ecede01b98a572ba48
Author: Christiaan Baaj <christiaan.baaij@gmail.com>
Date:   Tue Jan 28 08:24:55 2014 -0600

    Fix inplace dynamic linking on OS X (#8266)

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 943f22a4c959a2d0c0e47fc40c2163ef7760b6d9
Author: Austin Seipp <austin@well-typed.com>
Date:   Tue Jan 28 08:17:50 2014 -0600

    Document a Haddock/Mavericks bug.

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 28b031c506122e28e0230a562a4f6fd3d0256d0c
Author: Austin Seipp <austin@well-typed.com>
Date:   Tue Jan 28 06:15:19 2014 -0600

    Refactor GCTDecl.h, and mitigate #7602 a bit

    This basically cleans a lot of GCTDecl up - I found it quite hard to
    read and a bit confusing. The changes are mostly cosmetic: better
    delineation between the alternative cases and light touchups, and tries
    to make every branch as consistent as possible.

    However, this patch does have one significant effect: it will ensure
    that any LLVM-based compilers will use __thread if they support it.
    Before, they would simply always use pthread_getspecific and
    pthread_setspecific, which are almost surely even *more* inefficient.

    The details are a bit too long and boring to go into here; see #7602.
    After talking with Simon, we decided to play it safe - __thread can at
    least be optimized by future clang releases even further on OS X if they
    choose, and it's safer until we can investigate the pthread
    implementation further on Mavericks.

    For Linux, the story isn't so bleak if you use Clang (for whatever
    reason) - Linux directly writes to `%fs` for __thread slots (while OS X
    will perform a load followed by an indirect call.) So it should still be
    fairly competitive, speed-wise.

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit f9652e22da592ec0689b4919c003c67dacf28d31
Author: Austin Seipp <austin@well-typed.com>
Date:   Tue Jan 28 05:44:44 2014 -0600

    Check for __thread in ./configure.ac

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit db9baf08d0ddf110037a155c8dcf78f392cfa0f5
Author: Austin Seipp <austin@well-typed.com>
Date:   Tue Jan 28 05:24:40 2014 -0600

    Update some mingw32 perf numbers.

    I forgot to push these from my win32 machine. A lot of them actually
    look like a result of Herbert doing his GMP work, which might slightly
    affect allocations on platforms like Windows (where we always use
    in-tree GMP - but presumably Windows allocations could fluxuate slightly
    due to minute details in the GMP implementation, too.)

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 874124d71fb8af9c42fabd1b08e0e66545a02ff2
Author: Austin Seipp <austin@well-typed.com>
Date:   Mon Jan 27 22:22:03 2014 -0600

    Fix ./validate failure due to unused result.

    Fallout from 4ade9627608ea0a88450506222bb9afbbcff4294

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 4ade9627608ea0a88450506222bb9afbbcff4294
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Sat Jan 25 13:02:36 2014 -0500

    Abort when binutils ld is used with dynamic linking on ARM

    The binutils linker on ARM emits unnecessary R_ARM_COPY relocations
    which breaks tables-next-to-code in dynamically linked modules. This
    check should be more selective but there is currently no released
    version where this bug is fixed.  See
    https://sourceware.org/bugzilla/show_bug.cgi?id=16177 and
    https://ghc.haskell.org/trac/ghc/ticket/4210#comment:29 for details.

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 08f8efb84d51e53792ded036e172826686fc806b
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Tue Jan 21 19:26:12 2014 -0500

    Add short blurb about LLVM dynamic linking to release notes

    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 2ac9e5b821fee56b7b2a02599562de9a9a577af5
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Sun Jan 19 10:35:50 2014 -0500

    build.mk.sample: Don't disable dynamic linking for LLVM flavours

    Signed-off-by: Austin Seipp <austin@well-typed.com>