diff options
Diffstat (limited to 'src/arch/mips/process.cc')
-rw-r--r-- | src/arch/mips/process.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/arch/mips/process.cc b/src/arch/mips/process.cc index 4c4b0e414..8e1e22b66 100644 --- a/src/arch/mips/process.cc +++ b/src/arch/mips/process.cc @@ -65,7 +65,7 @@ MipsProcess::MipsProcess(ProcessParams *params, ObjectFile *objFile) Addr next_thread_stack_base = stack_base - max_stack_size; // Set up break point (Top of Heap) - Addr brk_point = objFile->maxSegmentAddr(); + Addr brk_point = image.maxAddr(); brk_point = roundUp(brk_point, PageBytes); // Set up region for mmaps. Start it 1GB above the top of the heap. @@ -89,14 +89,6 @@ MipsProcess::argsInit(int pageSize) { int intSize = sizeof(IntType); - // Patch the ld_bias for dynamic executables. - updateBias(); - - // load object file into target memory - objFile->loadSegments(initVirtMem); - if (objFile->getInterpreter()) - objFile->getInterpreter()->loadSegments(initVirtMem); - std::vector<AuxVector<IntType>> auxv; ElfObject * elfObject = dynamic_cast<ElfObject *>(objFile); |