sim-se: add missing path redirection to mmap createObjectFile
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 16 Apr 2020 15:58:34 +0000 (16:58 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Fri, 17 Apr 2020 14:36:39 +0000 (14:36 +0000)
commit56967e317bd7cc730e98ecaf0ab218fe3160857c
tree82633e1070ff4267e71535896f38e115c101e094
parentceda0d0f55358d8e3b155a0fcf4d1ca427ba2d51
sim-se: add missing path redirection to mmap createObjectFile

The redirection call was mistakenly removed at:
Ide158e69cdff19bc81157e3e9826bcabc2a51140 and that breaks running
cross compiled dynamically linked executables in SE.

JIRA: https://gem5.atlassian.net/browse/GEM5-430

Change-Id: I33419c78fbf183cda0bba98f7035a2b25ebc6fa3
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27887
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/sim/syscall_emul.hh