mirror of
https://github.com/autc04/Retro68.git
synced 2025-08-06 00:26:11 +00:00
Fix single-segment apps (fixes #33)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user