diff options
Diffstat (limited to 'rts/linker/PEi386.h')
-rw-r--r-- | rts/linker/PEi386.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/rts/linker/PEi386.h b/rts/linker/PEi386.h index 7621ecd660..7bdcd50046 100644 --- a/rts/linker/PEi386.h +++ b/rts/linker/PEi386.h @@ -58,9 +58,9 @@ bool ocResolve_PEi386 ( ObjectCode* oc ); bool ocRunInit_PEi386 ( ObjectCode *oc ); bool ocGetNames_PEi386 ( ObjectCode* oc ); bool ocVerifyImage_PEi386 ( ObjectCode* oc ); -SymbolAddr *lookupSymbol_PEi386(SymbolName *lbl, SymType *type); +SymbolAddr *lookupSymbol_PEi386(SymbolName *lbl, ObjectCode *dependent, SymType *type); bool ocAllocateExtras_PEi386 ( ObjectCode* oc ); -SymbolAddr *lookupSymbolInDLLs ( const SymbolName* lbl ); + /* See Note [mingw-w64 name decoration scheme] */ /* We use myindex to calculate array addresses, rather than simply doing the normal subscript thing. That's because @@ -126,13 +126,6 @@ struct _OpenedDLL { HINSTANCE instance; } OpenedDLL; -/* A record for storing indirectly linked functions from DLLs. */ -typedef -struct _IndirectAddr { - SymbolAddr* addr; - struct _IndirectAddr* next; -} IndirectAddr; - /* Some alignment information. */ typedef struct _Alignments { @@ -178,14 +171,8 @@ See #9218 * Memory Management functions ********************************************/ -/* Try and find a location in the VMMAP to allocate SZ bytes starting at - BASEADDR. If successful then location to use is returned and the amount of - bytes you *must* allocate is returned in REQ. You are free to use less but - you must allocate the amount given in REQ. If not successful NULL. */ -void *allocateBytes(void* baseAddr, unsigned sz, unsigned *req); - /* Same as the above, but use the current process's load address as the starting point for memory allocations. */ -void *allocaLocalBytes(unsigned sz, unsigned *req); +void *allocaLocalBytes(size_t sz, size_t *req); #include "EndPrivate.h" |