commit | f4b540e25c5c63fd55a80c78a22b2f69ecb848f8 | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Tue Aug 30 16:32:27 2022 -0400 |
committer | Tom Rini <trini@konsulko.com> | Wed Aug 31 12:21:47 2022 -0400 |
tree | 682c915d732c07d017a00278ae76fdea6f00b003 | |
parent | 1a4af2d9507b54ccf91d5616d5544915f695e64d [diff] |
arm: smh: Fix uninitialized parameters with newer GCCs 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@seco.com>