Skip to content
Commit 19d84d8e authored by Juro Bystricky's avatar Juro Bystricky Committed by Andrew Boie
Browse files

nano_init.c: STACK_CANARY_INIT fix for ARC



An updated version of ARC GCC reports this error:
nano_init.c:340: Error: inappropriate arguments for opcode 'mov'

The offending in-line assembly code tried to move register value into a
memory location.

Use store "st" instruction instead of "mov" istruction to store
a value in memory.

Change-Id: I91ebd20495612da4d5639a3ef848379705f6dedd
Signed-off-by: default avatarJuro Bystricky <juro.bystricky@intel.com>
parent a3c0b2c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment