summaryrefslogtreecommitdiff
path: root/rts/linker/Elf.h
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2017-05-01 11:18:14 -0400
committerBen Gamari <ben@smart-cactus.org>2017-05-01 11:18:23 -0400
commite25017819b58efd0a4c45796fa8ab8af6cc5db93 (patch)
tree2b9f316acf95381e53f0d39da370608f2d1546c8 /rts/linker/Elf.h
parent5c602d2228d28530621cc6c94fbb736b13f474fb (diff)
downloadhaskell-e25017819b58efd0a4c45796fa8ab8af6cc5db93.tar.gz
[linker] Add ocInit/ocDeinit for ELF
This fills out the extended `info` structs, and will be subsequently used in the arm and arm64 linker for elf. Depends on: D3446, D3459 Reviewers: bgamari, austin, erikd, simonmar Reviewed By: simonmar Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3447
Diffstat (limited to 'rts/linker/Elf.h')
-rw-r--r--rts/linker/Elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/linker/Elf.h b/rts/linker/Elf.h
index 57ec46e146..42548a0249 100644
--- a/rts/linker/Elf.h
+++ b/rts/linker/Elf.h
@@ -5,6 +5,10 @@
#include "BeginPrivate.h"
+#include "ElfTypes.h"
+
+void ocInit_ELF ( ObjectCode* oc );
+void ocDeinit_ELF ( ObjectCode* oc );
int ocVerifyImage_ELF ( ObjectCode* oc );
int ocGetNames_ELF ( ObjectCode* oc );
int ocResolve_ELF ( ObjectCode* oc );