summaryrefslogtreecommitdiff
path: root/compiler/main/DynFlags.hs
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2019-03-21 16:06:39 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-25 14:02:29 -0400
commit3769e3a829f4514f82ce7f7d218867f1d69d3d38 (patch)
treefdb7a6352c32368f1d80e370c46fe4159507ec4f /compiler/main/DynFlags.hs
parent8e07368faf5090a5ac803f0e4fa3a5a2a4aba05c (diff)
downloadhaskell-3769e3a829f4514f82ce7f7d218867f1d69d3d38.tar.gz
Update Wiki URLs to point to GitLab
This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r--compiler/main/DynFlags.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index fdc83fa94e..0783189aaf 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -322,7 +322,7 @@ import Foreign (Ptr) -- needed for 2nd stage
-- * Adding the flag to the GHC Wiki
--
-- There is a change log tracking language extension additions and removals
--- on the GHC wiki: https://ghc.haskell.org/trac/ghc/wiki/LanguagePragmaHistory
+-- on the GHC wiki: https://gitlab.haskell.org/ghc/ghc/wikis/language-pragma-history
--
-- See #4437 and #8176.
@@ -5549,7 +5549,7 @@ picCCOpts dflags = pieOpts ++ picOpts
-- otherwise things like stub.c files don't get compiled
-- correctly. They need to reference data in the Haskell
-- objects, but can't without -fPIC. See
- -- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PositionIndependentCode
+ -- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/position-independent-code
| gopt Opt_PIC dflags || WayDyn `elem` ways dflags ->
["-fPIC", "-U__PIC__", "-D__PIC__"]
-- gcc may be configured to have PIC on by default, let's be