The existing stubs mechanism is limited to common code that is located out of
target/ folder, mostly because they are built in libqemuutil that is independent
from target code.
To keep the same semantic, able to emulate "weak" symbols thanks to static
linking, we need to provide a static stubs library per target.
This series defines the common plumbing for that, and then define stubs for
target/arm. This allows to remove conflict between stub/non-stub symbols in the
single-binary.
Pierrick Bouvier (2):
meson.build: define stubs library per target base architecture
target/arm: define stub library
meson.build | 22 +++++++++++++++++++---
target/arm/meson.build | 8 +++-----
target/arm/tcg/meson.build | 2 +-
3 files changed, 23 insertions(+), 9 deletions(-)
--
2.43.0