diff options
author | Takenobu Tani <takenobu.hs@gmail.com> | 2020-05-29 18:48:51 +0900 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-01 06:39:05 -0400 |
commit | 8f2e5732b0eec2d99b821a7f622aee8b2c00739a (patch) | |
tree | 6f6f69d9441987b95d1a1284cb879cb29a4f221e /compiler/GHC/SysTools | |
parent | 11390e3ab038a18c2a7bf6b2423657614a439afb (diff) | |
download | haskell-8f2e5732b0eec2d99b821a7f622aee8b2c00739a.tar.gz |
Modify file paths to module paths for new module hierarchy
This updates comments only.
This patch replaces module references according to new module
hierarchy [1][2].
For files under the `compiler/` directory, I replace them as
module paths instead of file paths. For instance,
`GHC.Unit.State` instead of `compiler/GHC/Unit/State.hs` [3].
For current and future haddock's markup, this patch encloses
the module name with "" [4].
[1]: https://gitlab.haskell.org/ghc/ghc/-/wikis/Make-GHC-codebase-more-modular
[2]: https://gitlab.haskell.org/ghc/ghc/issues/13009
[3]: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3375#note_276613
[4]: https://haskell-haddock.readthedocs.io/en/latest/markup.html#linking-to-modules
Diffstat (limited to 'compiler/GHC/SysTools')
-rw-r--r-- | compiler/GHC/SysTools/ExtraObj.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/SysTools/ExtraObj.hs b/compiler/GHC/SysTools/ExtraObj.hs index 1f1d8fd3d6..453dc83996 100644 --- a/compiler/GHC/SysTools/ExtraObj.hs +++ b/compiler/GHC/SysTools/ExtraObj.hs @@ -155,7 +155,7 @@ mkNoteObjsToLinkIntoBinary dflags dep_packages = do -- ALL generated assembly must have this section to disable -- executable stacks. See also - -- compiler/GHC/CmmToAsm.hs for another instance + -- "GHC.CmmToAsm" for another instance -- where we need to do this. if platformHasGnuNonexecStack platform then text ".section .note.GNU-stack,\"\"," |