On Tue, Aug 30, 2022 at 04:32:27PM -0400, Sean Anderson wrote:
> Newer versions of GCC won't initialize parts of structures which don't
> appear to be used. This results in uninitialized semihosting parameters
> passed via R1. Fix this by marking the inline assembly as clobbering
> memory.
>
> Si
Newer versions of GCC won't initialize parts of structures which don't
appear to be used. This results in uninitialized semihosting parameters
passed via R1. Fix this by marking the inline assembly as clobbering
memory.
Signed-off-by: Sean Anderson
---
arch/arm/lib/semihosting.c | 6 +++---
1 f
2 matches
Mail list logo