[PATCH] arm: smh: Fix uninitialized parameters with newer GCCs
Tom Rini
trini at konsulko.com
Thu Sep 1 01:34:56 CEST 2022
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.
>
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220831/de71a220/attachment.sig>
More information about the U-Boot
mailing list