what options to pass to gcc for support of arm security extensions
Richard Earnshaw
Richard.Earnshaw@foss.arm.com
Fri Jul 31 09:46:00 GMT 2015
On 30/07/15 20:29, Shahin Ansari wrote:
> Greetings-
> According to the ARM documentation the SMC call should be supported at ARMv6
> and above. However, I get the error message below when I try to use it:
>
Almost, it's ARMv6Z that introduced the SMC instruction. It will
certainly be recognized for ARMv7-a and above.
GCC uses the -mcpu= (or if that's not specified the -march=) options
from the command line to tell the assembler what instructions should be
permitted.
R.
More information about the Gcc-help
mailing list