Add ocInit_MachO
[ghc.git] / rts / linker / MachO.h
1 #ifndef LINKER_MACHO_H
2 #define LINKER_MACHO_H
3
4 #include "Rts.h"
5
6 #include "BeginPrivate.h"
7
8 #include "MachOTypes.h"
9
10 void ocInit_MachO ( ObjectCode* oc );
11 void ocDeinit_MachO ( ObjectCode* oc );
12 int ocVerifyImage_MachO ( ObjectCode* oc );
13 int ocGetNames_MachO ( ObjectCode* oc );
14 int ocResolve_MachO ( ObjectCode* oc );
15 int ocRunInit_MachO ( ObjectCode* oc );
16 int machoGetMisalignment( FILE * );
17 int ocAllocateSymbolExtras_MachO ( ObjectCode* oc );
18
19 #ifdef powerpc_HOST_ARCH
20 void machoInitSymbolsWithoutUnderscore( void );
21 #endif
22
23 #include "EndPrivate.h"
24
25 #endif /* LINKER_MACHO_H */