This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what options to pass to gcc for support of arm security extensions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]