Fix #8696 - don't generate static intra-package references.

See the comments in Packages.lhs and the ticket for some more explanation.

This is a temporary fix while we consider a way to re-enable intra-package
references in the mean time.

Authored-by: Reid Barton <rwbarton@gmail.com>
Signed-off-by: Austin Seipp <austin@well-typed.com>

(cherry picked from commit ed1aced403b50f1a15fbe06cc7eeca5b23e69e37)
Use U+2018 instead of U+201B quote mark in compiler messages

This matches GCC's choice of Unicode quotation marks (i.e. U+2018 and U+2019)
and therefore looks more familiar on the console. This addresses #2507.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
(cherry picked from commit 018676c7f883886b388652c913c99a10d2591b0b)
Add release note for unicode quotation marks (re #2507)

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Fix typo in 939fe6c827a691c

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Individual sdist-foo targets

so that one can build a source distribution without downloading the
windows tarballs.

(cherry picked from commit 50e4d40f88c3eee41384efacfd83f73305e2210d)
Make distribution tarball compression format configurable

By default, bzip2 compression is selected (which is what has been used
till now). Additionally, by setting the TAR_COMP make variable to one of
the values "bzip2", "gzip", or "xz", an explicit compression format can
be requested for the distribution tarballs. For instance, invoking

  make TAR_COMP=xz sdist-ghc

will result in a tarball `./sdistprep/ghc-7.9.20140226-src.tar.xz`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>

(cherry picked from commit 32f41c79960ffc1d04c4573acb37756109d279a5)
Follow-up to 32f41c79

These parts were forgotten to be committed together with the rest of
32f41c79960ffc1d04c4573acb37756109d279a5

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>

(cherry picked from commit b1ee32edbe9be7b695cce7975450782e0a290c47)
Fix a bug in codegen for non-updatable selector thunks (#8817)

To evaluate most non-updatable thunks, we can jump directly to the
entry code if we know what it is.  But not for a selector thunk: these
might be updated by the garbage collector, so we have to enter the
closure with an indirect jump through its info pointer.