This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: what options to pass to gcc for support of arm security extensions
- From: Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>
- To: Shahin Ansari <shansari at verizon dot net>, gcc-help at gcc dot gnu dot org
- Date: Fri, 31 Jul 2015 10:46:13 +0100
- Subject: Re: what options to pass to gcc for support of arm security extensions
- Authentication-results: sourceware.org; auth=none
- References: <000601d0cafe$000cd7d0$00268770$ at verizon dot net>
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.