This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: .equ sequence


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.


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