diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-12-07 11:04:59 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2023-01-04 11:58:42 +0000 |
commit | fec6638e2468c78f136f2363d8b3239a9bfd4f91 (patch) | |
tree | de7978f28db584b51c7d3a0394314852a4bad4c9 /hadrian/doc | |
parent | 15bee1239877a4629a245fe457f06e5f96668423 (diff) | |
download | haskell-fec6638e2468c78f136f2363d8b3239a9bfd4f91.tar.gz |
hadrian: Add no_split_sections tranformer
This transformer reverts the effect of `split_sections`, which we intend
to use for platforms which don't support split sections.
In order to achieve this we have to modify the implemntation of the
split_sections transformer to store whether we are enabling
split_sections directly in the `Flavour` definition. This is because
otherwise there's no convenient way to turn off split_sections due to
having to pass additional linker scripts when merging objects.
Diffstat (limited to 'hadrian/doc')
-rw-r--r-- | hadrian/doc/flavours.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hadrian/doc/flavours.md b/hadrian/doc/flavours.md index 9aeabcc49d..af94fde32f 100644 --- a/hadrian/doc/flavours.md +++ b/hadrian/doc/flavours.md @@ -217,6 +217,10 @@ The supported transformers are listed below: library due to the long linking times that this causes).</td> </tr> <tr> + <td><code>no_split_sections</code></td> + <td>Disable section splitting for all libraries.</td> + </tr> + <tr> <td><code>thread_sanitizer</code></td> <td>Build the runtime system with ThreadSanitizer support</td> </tr> |