summaryrefslogtreecommitdiff
path: root/rts/LinkerInternals.h
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-10-26 11:19:01 -0400
committerBen Gamari <ben@smart-cactus.org>2016-10-26 11:19:07 -0400
commit488a9ed3440fe882ae043ba7f44fed4e84e679ce (patch)
treed47a4a4c214c1a4f5877c0d9564343ffdb216c83 /rts/LinkerInternals.h
parent925d178e023ec3c481ec8a5a38019797b779f7d7 (diff)
downloadhaskell-488a9ed3440fe882ae043ba7f44fed4e84e679ce.tar.gz
rts/linker: Move loadArchive to new source file
Test Plan: Validate Reviewers: erikd, simonmar, austin, DemiMarie Reviewed By: erikd, simonmar, DemiMarie Subscribers: hvr, thomie Differential Revision: https://phabricator.haskell.org/D2615 GHC Trac Issues: #12388
Diffstat (limited to 'rts/LinkerInternals.h')
-rw-r--r--rts/LinkerInternals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h
index 729cf1d792..ffbb9096de 100644
--- a/rts/LinkerInternals.h
+++ b/rts/LinkerInternals.h
@@ -301,4 +301,11 @@ getting, here. */
#endif /* OBJFORMAT_PEi386 */
+HsInt isAlreadyLoaded( pathchar *path );
+HsInt loadOc( ObjectCode* oc );
+ObjectCode* mkOc( pathchar *path, char *image, int imageSize,
+ rtsBool mapped, char *archiveMemberName,
+ int misalignment
+ );
+
#endif /* LINKERINTERNALS_H */