mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-24 02:29:55 +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)
|
||||
{
|
||||
for(auto sec : codeSections)
|
||||
{
|
||||
sec->FixRelocs();
|
||||
out << sec->GetData();
|
||||
|
||||
}
|
||||
|
||||
dataSection->FixRelocs();
|
||||
out << dataSection->GetData();
|
||||
|
||||
std::vector<RuntimeReloc> relocs;
|
||||
|
Loading…
Reference in New Issue
Block a user