Andrea Vezzosi pushed to branch wip/andrea/splitsections at Glasgow Haskell Compiler / GHC Commits: bae8d8b4 by Andrea Vezzosi at 2026-11-03T12:41:07+01:00 fixup! driver: Don't let -dynamic unset -fsplit-sections - - - - - 2 changed files: - compiler/GHC/Driver/Session.hs - docs/users_guide/phases.rst Changes: ===================================== compiler/GHC/Driver/Session.hs ===================================== @@ -3806,7 +3806,6 @@ between the two does not seem uniform. TODO: Make this choice more evident and u {- Note [Split sections are not supported on Darwin] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - On Darwin, split sections are either ignored by the backends (NCG, C) or would cause errors (LLVM, see split-sections-darwin test). ===================================== docs/users_guide/phases.rst ===================================== @@ -1065,8 +1065,7 @@ for example). This flag is ignored on Darwin as the Mach-O object format is not suitable for split sections. The ``.subsections_via_symbols`` directive and the - linker's ``-dead_strip``, which are used regardless of this flag, where - supported. + linker's ``-dead_strip`` are used where supported, regardless of this flag. .. ghc-flag:: -static :shortdesc: Use static Haskell libraries View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bae8d8b4a75f52e816ecd8ea5fad27fe... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bae8d8b4a75f52e816ecd8ea5fad27fe... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Andrea Vezzosi (@trac-Saizan)