summaryrefslogtreecommitdiff
path: root/rts/Linker.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-11-23 15:20:39 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-12-01 19:58:18 -0500
commit41c64eb5db50c80e110e47b7ab1c1ee18dada46b (patch)
tree1c9329cbe7ddaac22819854769ec8182b4089b7b /rts/Linker.c
parentc35d0e03514ce111ff8265426a7b911456984f50 (diff)
downloadhaskell-41c64eb5db50c80e110e47b7ab1c1ee18dada46b.tar.gz
rts/linker: Use m32 to allocate symbol extras in PEi386
Diffstat (limited to 'rts/Linker.c')
-rw-r--r--rts/Linker.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 57c76510d7..176127da24 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1206,8 +1206,9 @@ void munmapForLinker (void *addr, size_t bytes, const char *caller)
* Note that the m32 allocator handles protection of its allocations. For this
* reason the caller to m32_alloc() must tell the allocator whether the
* allocation needs to be executable. The caller must then ensure that they
- * call m32_flush() after they are finished filling the region, which will
- * cause the allocator to change the protection bits to PROT_READ|PROT_EXEC.
+ * call m32_allocator_flush() after they are finished filling the region, which
+ * will cause the allocator to change the protection bits to
+ * PROT_READ|PROT_EXEC.
*
*/