qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] semihosting: Restrict to TCG


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 3/3] semihosting: Restrict to TCG
Date: Wed, 17 Jul 2024 12:49:07 +0200
User-agent: Mozilla Thunderbird

On 19/6/24 09:49, Paolo Bonzini wrote:
On Wed, Jun 12, 2024 at 3:13 PM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
Building qemu-system-mips configured with --without-default-devices:

Undefined symbols for architecture arm64:
    "_qemu_semihosting_console_write", referenced from:
        _mips_semihosting in target_mips_tcg_sysemu_mips-semi.c.o
    "_semihost_sys_close", referenced from:
        _mips_semihosting in target_mips_tcg_sysemu_mips-semi.c.o
    "_uaccess_strlen_user", referenced from:
        _mips_semihosting in target_mips_tcg_sysemu_mips-semi.c.o
    ...

So this one has to use "select".

Similarly m68k:

Undefined symbols for architecture arm64:
    "_semihost_sys_close", referenced from:
        _do_m68k_semihosting in target_m68k_m68k-semi.c.o
    ...


The file to be stubbed would have
to be target/m68k/m68k-semi.c (for do_m68k_semihosting) and
target/mips/tcg/sysemu/mips-semi.c (for mips_semihosting), not the
common code.

Yes! Thank you, I'm was to blind to realize that...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]