mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-13 16:33:02 +00:00
Fix single-segment apps (fixes #33)
This commit is contained in:
parent
c47772e62f
commit
ce224eb58d
@ -132,8 +132,12 @@ Object::Object(string input)
|
|||||||
void Object::FlatCode(std::ostream& out)
|
void Object::FlatCode(std::ostream& out)
|
||||||
{
|
{
|
||||||
for(auto sec : codeSections)
|
for(auto sec : codeSections)
|
||||||
|
{
|
||||||
|
sec->FixRelocs();
|
||||||
out << sec->GetData();
|
out << sec->GetData();
|
||||||
|
}
|
||||||
|
|
||||||
|
dataSection->FixRelocs();
|
||||||
out << dataSection->GetData();
|
out << dataSection->GetData();
|
||||||
|
|
||||||
std::vector<RuntimeReloc> relocs;
|
std::vector<RuntimeReloc> relocs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user