On 02/11/2023 10:21 am, Federico Serafini wrote:
> Remove the generic implementation of memcpy(), memmove() and
> memset() from the x86 build since a version written in asm is present.
> This addesses violations of MISRA C:2012 Rule 8.6 ("An identifier with
> external linkage shall have exactly one external definition").
>
> Signed-off-by: Federico Serafini <[email protected]>

As I said on one of the previous calls, this is an error in analysis,
not a bug in Xen.

The behaviour when linking a library is well defined by the toolchain. 
Disassemble the final hypervisor and observe that there really is only
one implementation, and it's always the arch-optimised version when both
exist.

~Andrew

Reply via email to