diff options
Diffstat (limited to 'src/arch/sparc/process.cc')
-rw-r--r-- | src/arch/sparc/process.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc index 048c7e957..33ae68975 100644 --- a/src/arch/sparc/process.cc +++ b/src/arch/sparc/process.cc @@ -375,8 +375,10 @@ SparcProcess::argsInit(int pageSize) initVirtMem.write(auxv_array_end, zero); auxv_array_end += sizeof(zero); - copyStringArray(envp, envp_array_base, env_data_base, initVirtMem); - copyStringArray(argv, argv_array_base, arg_data_base, initVirtMem); + copyStringArray(envp, envp_array_base, env_data_base, + BigEndianByteOrder, initVirtMem); + copyStringArray(argv, argv_array_base, arg_data_base, + BigEndianByteOrder, initVirtMem); initVirtMem.writeBlob(argc_base, &guestArgc, intSize); |