4974c06e7d8e6c250e6bf62b154d83debb76fdbe
[ghc.git] / rts / linker / SymbolExtras.h
1 #pragma once
2
3 #include "Rts.h"
4 #include "LinkerInternals.h"
5
6 #include "BeginPrivate.h"
7
8 #if defined(NEED_SYMBOL_EXTRAS)
9
10 int ocAllocateSymbolExtras( ObjectCode* oc, int count, int first );
11
12 #if defined(arm_HOST_ARCH)
13 SymbolExtra* makeArmSymbolExtra( ObjectCode const* oc,
14 unsigned long symbolNumber,
15 unsigned long target,
16 bool fromThumb,
17 bool toThumb );
18 #else
19 SymbolExtra* makeSymbolExtra( ObjectCode const* oc,
20 unsigned long symbolNumber,
21 unsigned long target );
22
23 #endif /* arm_HOST_ARCH */
24
25 #endif /* NEED_SYMBOL_EXTRAS */
26
27 #include "EndPrivate.h"