Changes to ghc(17) base(2) directory testsuite(3)

Changes to ghc:
commit d71bbe79e222ea286c2fd465abfde58280450c3a
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 09:17:01 2013 -0500

    Untabify RtsFlags.c

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

commit 0084818a323e1c9b93aafa3ccb260e3a401ef4a5
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 09:15:34 2013 -0500

    Untabify Linker.c

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

commit db11bfcbd611a99da6ea9229ad8bdcaa811593a9
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 08:37:42 2013 -0500

    Make sure to #include Stable.h in Linker.c

    It needs freeStablePtr, which tripped my validate build, due to an
    implicit declaration warning. I'm quite surprised this somehow did not
    trip the build before.

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

commit 645eadb99493129a53021e31c43d3526eb59a496
Author: Takano Akio <aljee@hyper.cx>
Date:   Sun Jan 6 17:51:19 2013 +0900

    Linker.c: add dso_handle to the symbol table

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

commit 41fb63668352eb4f04f4aaca27ef3ad09025afc3
Author: Takano Akio <aljee@hyper.cx>
Date:   Sat Dec 29 11:59:34 2012 +0900

    ghci: add support for ELF weak symbols

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

commit 736ed65532d12a3d2d8c79a1dcce1004499bc740
Author: Takano Akio <aljee@hyper.cx>
Date:   Sat Dec 29 11:47:22 2012 +0900

    Linker.c: remove stablehash, which is no longer used

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

commit cee3adbcc180bdf1be8b24aeaafa2ca4a737cbbf
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 06:13:27 2013 -0500

    Make SpecConstr also check for GHC.Types.SPEC

    SpecConstr has for a while now looked for types with the built
    in ForceSpecConstr annotation, in order to know where to be particularly
    aggressive.

    Unfortunately using an annotation has a number of downsides, the most
    prominent two being:

      A) ForceSpecConstr is vital for efficiency (even if it's
         a hack), but it means users of it must have GHCI - even though
         stage2 features are not required for anything but the annotation.

      B) Any user who might need it (read: vector) has to duplicate the same
         piece of code. In general there are few people actually doing this,
         but it's unclear why they should have to.

    This patch makes SpecConstr look for functions applied to the new
    GHC.Types.SPEC type - a copy of the already-extant 'SPEC' type - as well
    as look for annotations, in the stage2 compiler.

    In particular, this means `vector` can now be built with a stage1
    compiler, since it no longer depends on stage2 for anything else. This
    is particularly important for e.g. iOS cross-compilers.

    This also means we should be able to build `vector` earlier in the build
    process too, but this patch doesn't address that.

    This requires an accompanying bump in ghc-prim.

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

commit 2fc1ac2421522ab5dbdcd9cd0179814bb901eab1
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 03:42:42 2013 -0500

    Add build.mk.sample entry for Cross Compilation

    This is suitable e.g. for iOS.

    Authored-by: Authored-by: Luke Iannini <lukexi@me.com>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit f57ba1d74ca434f6025347c70769c9f1889abcc5
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 03:39:19 2013 -0500

    Placate clang (#8444, #8445)

    Once again the whitespace rules (and the rules concerning expansion of
    tokens) have bitten us.

    Authored-by: Authored-by: Luke Iannini <lukexi@me.com>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit f213e48447050bf468bc4d91fc4d810402c23b85
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 03:26:23 2013 -0500

    Correctly set relative rpath for OS X (#8266)

    This includes both executables (by correcly setting the rpath to the
    topDir) and libffi, and GHC itself, so that everything works with no
    build tree.

    Authored-by: Christiaan Baaj <christiaan.baaij@gmail.com>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

commit f65473bc4fa8c9664af829629d9d4fb5653154e2
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Thu Sep 12 23:28:20 2013 -0400

    users_guide: Update default maximum stack size

commit edbf51ab0ca99ceb6c42bc61b71f876e31fc6b30
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Thu Sep 12 23:20:06 2013 -0400

    rts: Set default maximum stack size to 80% of physical memory

commit bcc337aa80a44cc8e5c7e499187c91f6b4cc3f04
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Tue Oct 22 10:45:38 2013 -0400

    users_guide: Document zero stack size limit

commit d3b24e10d419f48e0839b08eb740d7138e56b390
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Fri Sep 6 22:48:52 2013 -0400

    rts: Allow for infinite stack size

    This is encoded as RtsFlags.GcFlags.maxStkSize == 0.

commit 8f3ea7d7b88b7dac26756e8af9f9defd4208e521
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Sat Sep 7 18:00:40 2013 -0400

    rts: Fix typo in comment

commit 7de07eb78c10217c87f0f6a4c12ef2927d044e00
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Sat Sep 7 17:53:34 2013 -0400

    rts: Print correct stack size on stack overflow

    This requires that stackOverflow() in RtsUtils.c be passed a reference
    to the current TSO. This requires a small change in libraries/base.

commit 72f8b8d694362890a424f5fa21fef37cee921ecf
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Thu Sep 12 23:04:10 2013 -0400

    rts: Add getPhysicalMemorySize

Changes to base:
commit fcadae17da5b656cb33d493b2f4b16716c60573e
Author: Austin Seipp <aseipp@pobox.com>
Date:   Fri Oct 25 05:05:44 2013 -0500

    Run length001 test with +RTS -K8m

    Otherwise it uses excessive amounts of stack space (~1GB at peak) when
    compiled without -O.

    Signed-off-by: Austin Seipp <aseipp@pobox.com>

commit 960f9ac10c8145410adb6ddd36dc7e3af7a7fb44
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Sat Sep 7 18:16:52 2013 -0400

    GHC.Conc.Sync: Pass TSO to stackOverflow

Changes to directory:
commit 7789d1cc19a36fe4802e751502d166933c430b6a
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Oct 25 03:47:27 2013 -0500

    Fixes #2184 - findExecutable checks permissions

    A few convenience functions have been added: findFiles, findFilesWith,
    findExecutables.  The most drastic changes comes with findFilesWith
    which checks existence and applies another boolean function for
    filtering purposes.

    Authored-by: Muhaimin Ahsan <leroux@fezrev.com>
    Signed-off-by: Austin Seipp <austin@well-typed.com>

Changes to testsuite:
commit 25b9c963ce9a3a2394f1e4750e865b69ce7cb607
Author: Takano Akio <aljee@hyper.cx>
Date:   Sun Jan 13 14:37:16 2013 +0900

    Test Trac #3333

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

commit de87db840e01ed8acdf453185dbc45e019b5c565
Author: Takano Akio <aljee@hyper.cx>
Date:   Thu Oct 24 21:44:36 2013 +0900

    Fix dangling pointer reference in T8242

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

commit 9860e57c352a6b7baf16c7d4bfefda7861cc6cf0
Author: Takano Akio <aljee@hyper.cx>
Date:   Thu Oct 24 21:43:28 2013 +0900

    T8242 now passes on Windows

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