summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips')
-rw-r--r--src/arch/mips/process.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/mips/process.cc b/src/arch/mips/process.cc
index 8e1e22b66..f5aae732c 100644
--- a/src/arch/mips/process.cc
+++ b/src/arch/mips/process.cc
@@ -165,9 +165,11 @@ MipsProcess::argsInit(int pageSize)
initVirtMem.writeBlob(memState->getStackMin(), &argc, intSize);
- copyStringArray(argv, argv_array_base, arg_data_base, initVirtMem);
+ copyStringArray(argv, argv_array_base, arg_data_base,
+ LittleEndianByteOrder, initVirtMem);
- copyStringArray(envp, envp_array_base, env_data_base, initVirtMem);
+ copyStringArray(envp, envp_array_base, env_data_base,
+ LittleEndianByteOrder, initVirtMem);
// Copy the aux vector
Addr auxv_array_end = auxv_array_base;