summaryrefslogtreecommitdiff
path: root/hadrian/doc
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-12-07 11:04:59 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2023-01-04 11:58:42 +0000
commitfec6638e2468c78f136f2363d8b3239a9bfd4f91 (patch)
treede7978f28db584b51c7d3a0394314852a4bad4c9 /hadrian/doc
parent15bee1239877a4629a245fe457f06e5f96668423 (diff)
downloadhaskell-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.md4
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>