Skip to content
Commit f4b540e2 authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

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: default avatarSean Anderson <sean.anderson@seco.com>
parent 1a4af2d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment