summaryrefslogtreecommitdiff
path: root/rtl-unresolved.c (follow)
AgeCommit message (Collapse)Author
2012-07-19Fix the block allocations.Chris Johns
Add some warnings.
2012-07-16Resolve unresolved externals when loading object files.Chris Johns
Object files that depend on each other will cause an unresolved external. The change lets object files load with unresolved externals and will resolve them when the object file with the external is loaded. A common table of symbol strings and relocation records is maintained. The symbol string is shared by each object file that is unresolved. Each relocation record that references the symbol is held. The table is a series of small blocks that compact as symbols are resolved. The number of symbols left unresolved is typically small this design avoids fragmentation of the heap memory.