This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: .equ sequence
- To: Axel Kittenberger <Anshil at gmx dot net>
- Subject: Re: .equ sequence
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Mon, 15 Jan 2001 21:07:04 +1100 (EST)
- cc: binutils at sources dot redhat dot com
On Mon, 15 Jan 2001, Axel Kittenberger wrote:
> Okay other question can I somehow change the assembler to recoqnize .equ
> pseudo-ops in another sequence?
> gnu-as recognizes following:
> -----------
> .equ SP 0
> -----------
> However in my source I've every following syntax:
> -----------
> SP .equ 0
> -----------
Yes it's possible to change gas to accept this syntax. In fact, the hppa
port does exactly that. See gas/config/tc-hppa.c However, I'd suggest it
might be easier to run your source through sed to flip .equ lines around.
Alan Modra
--
Linuxcare. Support for the Revolution.