summaryrefslogtreecommitdiff
path: root/rts/LinkerInternals.h
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-11-02 15:02:36 -0400
committerBen Gamari <ben@smart-cactus.org>2016-11-02 15:42:01 -0400
commitbdc262cc0ee511aa7bcd5c458f25ea1e4cc38583 (patch)
treee3bdce16f153bc58fccf95f38d72683b4f14ace4 /rts/LinkerInternals.h
parentf6c47df34acee1b906146a6e54665192d02d15b6 (diff)
downloadhaskell-bdc262cc0ee511aa7bcd5c458f25ea1e4cc38583.tar.gz
linker: Split ELF implementation into separate source file
Test Plan: Validate Reviewers: erikd, austin, simonmar Reviewed By: simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2650
Diffstat (limited to 'rts/LinkerInternals.h')
-rw-r--r--rts/LinkerInternals.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h
index 3b6790b3e8..47e0375a2c 100644
--- a/rts/LinkerInternals.h
+++ b/rts/LinkerInternals.h
@@ -224,6 +224,18 @@ void addSection (Section *s, SectionKind kind, SectionAlloc alloc,
HsBool ghciLookupSymbolInfo(HashTable *table,
const SymbolName* key, RtsSymbolInfo **result);
+int ghciInsertSymbolTable(
+ pathchar* obj_name,
+ HashTable *table,
+ const SymbolName* key,
+ SymbolAddr* data,
+ HsBool weak,
+ ObjectCode *owner);
+
+/* lock-free version of lookupSymbol */
+SymbolAddr* lookupSymbol_ (SymbolName* lbl);
+
+extern /*Str*/HashTable *symhash;
/*************************************************