qemu/tests/tcg/minilib
Richard Henderson 7e3798eddd tests/tcg/minilib: Constify digits in print_num
This avoids a memcpy to the stack when compiled with clang.
Since we don't enable optimization, nor provide memcpy,
this results in an undefined symbol error at link time.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240630190050.160642-2-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240705084047.857176-7-alex.bennee@linaro.org>
2024-07-05 12:33:41 +01:00
..
Makefile.target tests/tcg: Add -fno-stack-protector 2023-10-31 13:28:19 +00:00
minilib.h Remove leading underscores from QEMU defines 2021-06-21 05:49:01 +02:00
printf.c tests/tcg/minilib: Constify digits in print_num 2024-07-05 12:33:41 +01:00