On 9/30/2026 12:39 AM, Yonggang Luo wrote:
> Use target-specific assembler names and helper metadata for TCG helpers
> when multiple targets share a binary. The generated prototype maps the
> generic C helper name to a target-specific linker symbol, for example:
>
> helper_raise_exception
> __asm__("helper_i386_raise_exception")
>
> This lets target helper definitions keep generic C names while avoiding
> linker symbol collisions between targets.
>
Hi Richard, do you have an opinion on this patch?
We are trying to see if we do renaming per helper, or if we introduce a
"generic" way to deal with it. I don't have a strong opinion, renaming
things or adding more macros and build system soup are both ok on my
side, so direction would depend on your culinary taste.
Regards,
Pierrick