summaryrefslogtreecommitdiff
path: root/base/loader/aout_object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/loader/aout_object.cc')
-rw-r--r--base/loader/aout_object.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/loader/aout_object.cc b/base/loader/aout_object.cc
index 54bf81aaf..d1b27120d 100644
--- a/base/loader/aout_object.cc
+++ b/base/loader/aout_object.cc
@@ -91,9 +91,11 @@ AoutObject::loadSections(TranslatingPort *memPort, bool loadPhys)
// Since we don't really have an MMU and all memory is
// zero-filled, there's no need to set up the BSS segment.
if (text.size != 0)
- memPort->writeBlobFunctional(textAddr, fileData + N_TXTOFF(*execHdr), text.size);
+ memPort->writeBlobFunctional(textAddr, fileData + N_TXTOFF(*execHdr),
+ text.size, true);
if (data.size != 0)
- memPort->writeBlobFunctional(dataAddr, fileData + N_DATOFF(*execHdr), data.size);
+ memPort->writeBlobFunctional(dataAddr, fileData + N_DATOFF(*execHdr),
+ data.size, true);
return true;
}