On 9/3/21 1:46 AM, i...@bsdimp.com wrote:
From: Warner Losh<i...@bsdimp.com>
Use the PATH to find the executable given a bare argument. We need to do
this so we can implement mixing native and emulated binaries (e.g.,
execing a x86 native binary from an emulated arm binary to optimize
parts of the build). By finding the binary, we will know how to exec it.
Signed-off-by: Stacey Son<s...@freebsd.org>
Signed-off-by: Warner Losh<i...@bsdimp.com>
---
bsd-user/bsdload.c | 36 +++++++++++++++++++++++++++++++++++-
bsd-user/qemu.h | 3 ++-
2 files changed, 37 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~