This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: GNU AS for ARM help
We have ARCH64 GNU ASM -- I believe -- But Will check
-----Original Message-----
From: Richard Earnshaw (lists) [mailto:Richard.Earnshaw@arm.com]
Sent: Friday, August 05, 2016 12:13 PM
To: Scott, Gary <garyscot@qti.qualcomm.com>; binutils@sourceware.org
Subject: Re: GNU AS for ARM help
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.