[PATCH 0/2] single-binary: add stubs for target/

Pierrick Bouvier posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260424230103.1579600-1-pierrick.bouvier@oss.qualcomm.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Peter Maydell <peter.maydell@linaro.org>
meson.build                | 22 +++++++++++++++++++---
target/arm/meson.build     |  8 +++-----
target/arm/tcg/meson.build |  2 +-
3 files changed, 23 insertions(+), 9 deletions(-)
[PATCH 0/2] single-binary: add stubs for target/
Posted by Pierrick Bouvier 1 month ago
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
Re: [PATCH 0/2] single-binary: add stubs for target/
Posted by Philippe Mathieu-Daudé 1 month ago
On 25/4/26 01:01, Pierrick Bouvier wrote:

> Pierrick Bouvier (2):
>    meson.build: define stubs library per target base architecture
>    target/arm: define stub library

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>

You already had these tags ;)