[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 3/3] target/arm: Make m_helper.c optional vi
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [RFC PATCH 3/3] target/arm: Make m_helper.c optional via CONFIG_ARM_V7M |
Date: |
Tue, 3 Sep 2019 11:23:08 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 9/3/19 9:19 AM, Philippe Mathieu-Daudé wrote:
> On 9/3/19 5:48 PM, Thomas Huth wrote:
>> We've already got the CONFIG_ARM_V7M switch, but it currently can
>> not be disabled yet. The m_helper.c code should not be compiled
>> into the binary if the switch is not enabled. We also have to
>> provide some stubs in a separate file to make sure that we still
>> can link the other code without CONFIG_ARM_V7M.
>
> If there is no M support, the translate code shouldn't even generate M
> calls, so the stub shouldn't be necessary.
No, the symbols are still required for link.
> Anyhow I guess this code will be simplified by the ongoing decodetree
> conversion from Richard.
No, the decodetree conversion will not affect this at all.
r~