diff options
Diffstat (limited to 'base/loader/ecoff_object.cc')
-rw-r--r-- | base/loader/ecoff_object.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/loader/ecoff_object.cc b/base/loader/ecoff_object.cc index a18ecc026..a4b8c8713 100644 --- a/base/loader/ecoff_object.cc +++ b/base/loader/ecoff_object.cc @@ -94,8 +94,10 @@ EcoffObject::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. - memPort->writeBlobFunctional(textAddr, fileData + ECOFF_TXTOFF(execHdr), text.size); - memPort->writeBlobFunctional(dataAddr, fileData + ECOFF_DATOFF(execHdr), data.size); + memPort->writeBlobFunctional(textAddr, fileData + ECOFF_TXTOFF(execHdr), + text.size, true); + memPort->writeBlobFunctional(dataAddr, fileData + ECOFF_DATOFF(execHdr), + data.size, true); return true; } |