Add a missing untag to the non-updatable selector thunks (#7978)
Fix Stage1Only: don't build ghctags.

ghctags needs the stage2 compiler, since it uses the GHC API.

Fixes #8126.

Authored-by: Stephen Blackheath <...@blacksapphire.com>
Signed-off-by: Austin Seipp <aseipp@pobox.com>
iOS: generate archive files when compiling.

When cross compiling to iOS, we generate archive files which are linked
into the final executable. We already *did* generate archive files -
just with the wrong suffix.

Fixes #8125.

Authored-by: Stephen Blackheath <...@blacksapphire.com>
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Bump supported llvm version to 3.4.

The compiler can bootstrap and run all tests fine, given a copy of LLVM
built on Jul 27 2013.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Don't run the system linker unncessarily.

This wastes time when evaluating expressions in GHCi. We also
disable object unloading when using the dynamic linker, too.

Fixes #7382. Fixes #7326.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Comparison primops return Int# (Fixes #6135)

This patch modifies all comparison primops for Char#, Int#, Word#, Double#,
Float# and Addr# to return Int# instead of Bool. A value of 1# represents True
and 0# represents False. For a more detailed description of motivation for this
change, discussion of implementation details and benchmarking results please
visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool

There's also some cleanup: whitespace fixes in files that were extensively edited
in this patch and constant folding rules for Integer div and mod operators (which
for some reason have been left out up till now).