Commit bdc262cc authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

linker: Split ELF implementation into separate source file

Test Plan: Validate

Reviewers: erikd, austin, simonmar

Reviewed By: simonmar

Subscribers: thomie

Differential Revision:
parent f6c47df3
This diff is collapsed.
......@@ -224,6 +224,18 @@ void addSection (Section *s, SectionKind kind, SectionAlloc alloc,
HsBool ghciLookupSymbolInfo(HashTable *table,
const SymbolName* key, RtsSymbolInfo **result);
int ghciInsertSymbolTable(
pathchar* obj_name,
HashTable *table,
const SymbolName* key,
SymbolAddr* data,
HsBool weak,
ObjectCode *owner);
/* lock-free version of lookupSymbol */
SymbolAddr* lookupSymbol_ (SymbolName* lbl);
extern /*Str*/HashTable *symhash;
This diff is collapsed.
#ifndef LINKER_ELF_H
#define LINKER_ELF_H
#include "Rts.h"
#include "LinkerInternals.h"
#include "BeginPrivate.h"
int ocVerifyImage_ELF ( ObjectCode* oc );
int ocGetNames_ELF ( ObjectCode* oc );
int ocResolve_ELF ( ObjectCode* oc );
int ocRunInit_ELF ( ObjectCode* oc );
int ocAllocateSymbolExtras_ELF( ObjectCode *oc );
#include "EndPrivate.h"
#endif /* LINKER_ELF_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment