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>
Add a new language pragma PatternSynonyms
Add new token for 'pattern', when PatternSynonyms is turned on
Add PatSynD to HsDecl
Parser: add pattern_synonym_decl
Renamer for pattern synonym declarations

The right-hand side creates the pattern scope in which the left-hand
side is processed
Reject pattern synonym declarations in hs-boot files, add them to exportable names
Internal representation of PatSyn data
TyThing: add APatSyn
Typechecker for pattern synonyms, called from tcTyClsInstDecls
ConLike is a type for constructor-like things: real data constructors
and pattern synomys.
typecheck & instantiate pattern synonym patterns in patterns and expressions
Desugaring for SynPatOut and PatSynDecl