On Fri, Jun 26, 2020 at 10:32 AM Peter Maydell <peter.mayd...@linaro.org> wrote: > You might find the user-mode qemu-arm sufficient for that > kind of thing. I know some gcc tests run that way. You > get a processor, semihosting, and whatever memory your > ELF file's data segment says you have (plus anything > you care to mmap()).
I routinely run xtensa gcc testsuite in user-mode qemu, the results are the same as when I run it on a remote board emulated by system-mode QEMU. OTOH for the glibc testsuite the results in user-mode and system-mode emulation used to differ significantly. Here's my account of differences: http://wiki.osll.ru/doku.php/etc:users:jcmvbkbc:glibc-xtensa Most of them are due to unsupported/differently implemented syscalls. -- Thanks. -- Max