stubs: split semihosting_get_target from system only stubs
commitad66b5cbbb9a4f92e2a4f0af5902524bbd60ee67
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Mar 2023 17:01:20 +0000 (7 17:01 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Mar 2023 20:44:09 +0000 (7 20:44 +0000)
treef6960eef2db5f12efcea5f31d116e24b4edbe63c
parent0820a075af2ee1090217c59c3d8ec966907cec1c
stubs: split semihosting_get_target from system only stubs

As we are about to have a common syscalls.c for gdbstub we need to
stub out one semihosting helper function for all targets.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230307170405.796822-1-alex.bennee@linaro.org>
stubs/meson.build
stubs/semihost-all.c [new file with mode: 0644]
stubs/semihost.c