Allocate bss section within proper range of other sections
[ghc.git] / rts / linker / MachO.h
1 #pragma once
2
3 #include "Rts.h"
4
5 #include "BeginPrivate.h"
6
7 #include "MachOTypes.h"
8
9 void ocInit_MachO ( ObjectCode* oc );
10 void ocDeinit_MachO ( ObjectCode* oc );
11 int ocVerifyImage_MachO ( ObjectCode* oc );
12 int ocGetNames_MachO ( ObjectCode* oc );
13 int ocResolve_MachO ( ObjectCode* oc );
14 int ocRunInit_MachO ( ObjectCode* oc );
15 int machoGetMisalignment( FILE * );
16 int ocAllocateExtras_MachO ( ObjectCode* oc );
17
18 #if defined(powerpc_HOST_ARCH)
19 void machoInitSymbolsWithoutUnderscore( void );
20 #endif
21
22 #include "EndPrivate.h"