GNU AS for ARM help

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Fri Aug 5 16:12:00 GMT 2016


On 05/08/16 16:40, Scott, Gary wrote:
> Hi
>   Im am trying to get the GNU AS to work on ARM Cortex-A53 asembler files
> Note these work with armasm tool but fail with GNU ASM due to System register access
> The code is
> MRS x0, ELR_EL1
> As an example
> 
> The errors is
> Error: unknown or missing system register name at operand 2 -- `mrs x0, ELR_EL1'
> 
> Can u help - Is there a missing include file I need for System Registers that maybe map
> ELR_ELI to an actual internal address mechanism
> 
> Thanks
> 
> Gary
> 


You need an AArch64 assembler for the new 64-bit support.  'ARM' is the
32-bit ISAs.

R.



More information about the Binutils mailing list