summaryrefslogtreecommitdiff
path: root/rts/Linker.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-07-13 11:07:40 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-16 23:50:36 -0400
commitfbb171100f1d5bd9e78cbb9072fb48d3422458a5 (patch)
treee2afd57f088141c5f14a900bd99699aef238c864 /rts/Linker.c
parentd161e6bc606d7ec86f6d910a9f744ff513fd6df6 (diff)
downloadhaskell-fbb171100f1d5bd9e78cbb9072fb48d3422458a5.tar.gz
rts/linker/MachO: Introduce finalizer support
Diffstat (limited to 'rts/Linker.c')
-rw-r--r--rts/Linker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 7bbeb49f9c..e3bcd5d795 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1145,6 +1145,8 @@ void freeObjectCode (ObjectCode *oc)
ocRunFini_ELF(oc);
#elif defined(OBJFORMAT_PEi386)
ocRunFini_PEi386(oc);
+#elif defined(OBJFORMAT_MACHO)
+ ocRunFini_MachO(oc);
#endif
}