Changes to ghc(8) template-haskell testsuite

Changes to ghc:
commit 23fb7f3b7987d7b3fa445e54680a8a00a37e714d
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Nov 1 22:43:06 2013 -0500

    Nuke trailing whitespace.

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

commit dd2bce5ecadf3153c43483aa37c8ff4f42cecc0c
Author: Carter Tazio Schonwald <carter.schonwald@gmail.com>
Date:   Mon Oct 28 15:16:18 2013 -0400

    adding further documentation and explanation to the prefetch primops

    Signed-off-by: Carter Tazio Schonwald <carter.schonwald@gmail.com>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 7e6786fae76ee0563b04c261e537d15b341ef6b5
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Nov 1 22:40:49 2013 -0500

    Remove superfluous #ifdef from Takano's patch.

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

commit 773365f91ff141ad38e929844c901ecd5465a000
Author: Takano Akio <aljee@hyper.cx>
Date:   Tue Oct 1 07:40:35 2013 +0900

    rts_apply uses CCS_MAIN rather than CCS_SYSTEM (#7753)

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

commit a4b1a43542b11d09dd3b603d82c5a0e99da67d74
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Nov 1 22:17:01 2013 -0500

    Fix loop on 64bit Big-Endian platforms (#8134)

    This is a fun one.

    In the RTS, `cas` expects a pointer to StgWord which will translate to
    unsigned long (8 bytes under LP64.) But we had previously declared
    token_locked as *StgBool* - which evaluates to 'int' (4 bytes under
    LP64.) That means we fail to provide enough storage for the cas
    primitive, causing it to corrupt memory on a 64bit platform.

    Hilariously, this somehow did not affect little-endian platforms (ARM,
    x86, etc) before. That's because to clear our lock token, we would say:

        token_locked = 0;

    But because token_locked is 32bits technically, this only writes to
    half of the 64bit quantity. On a Big-Endian machine, this won't do
    anything. That is, token_locked starts as 0:

     / token_locked
     |
     v
     0x00000000

    and the first cas modifies the memory to:

     / valid    / corrupted
     |          |
     v          v
     0x00000000 0x00000001

    We then clear token_locked, but this doesn't change the corrupted 4
    bytes of memory. And then we try to lock the token again, spinning until
    it is released - clearly a deadlock.

    Related: Windows (amd64) doesn't follow LP64, but LLP64, where both
    int and long are 4 bytes, so this shouldn't change anything on these
    platforms.

    Thanks to Reid Barton for helping the diagnosis. Also, thanks to Jens
    Peterson who confirmed this also fixes building GHC on Fedora/ppc64 and
    Fedora/s390x.

    Authored-by: Gustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 1082f21b1eaf7b380daefb864959e6cfad1aeec7
Author: Takano Akio <aljee@hyper.cx>
Date:   Thu Oct 17 22:50:43 2013 +0900

    Fix a race condition when PROFILING (#8453)

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

commit 69fa2e558d56178d33950df815c3233606b0d44e
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Nov 1 22:15:53 2013 -0500

    Add support for module reification (#1480)

    Authored-by: Gergely Risko <gergely@risko.hu>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit 63b8147f01bd7bd4a46fb013998f138bce3139be
Author: Joachim Breitner <mail@joachim-breitner.de>
Date:   Tue Sep 17 23:37:02 2013 +0200

    Load all modules before reporting errors (#8322)

    Instead of reporting only one "module not found"" error.

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

Changes to template-haskell:
commit 8a02cb167bb0eaf74bd068142174cd0e8eaa9cf9
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Nov 1 22:16:15 2013 -0500

    Allow module reification (#1480)

    Authored-by: Gergely Risko <gergely@risko.hu>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

Changes to testsuite:
commit 88fd25a6085c10ec769ebd2e0b8abc0630817516
Author: Austin Seipp <austin@well-typed.com>
Date:   Sat Nov 2 02:26:32 2013 -0500

    Update tcfail082 output (#8322 fallout)

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