string concatenation in gas

Geoff Berry geoffb@bops.com
Fri Apr 14 14:52:00 GMT 2000


Is this a desirable (and implementable) feature, or was this intentionally
left out?  Gas is the only assembler I've ever used so I don't really have a
feel for what other assemblers are capable of in this regard.  I've had a
couple of assembly programmers ask me about this feature so I'm guessing
that it is somewhat important. 

-----Original Message-----
From: Ian Lance Taylor [ mailto:ian@zembu.com ]
Sent: Friday, April 14, 2000 5:44 PM
To: geoffb@bops.com
Cc: twall@domesolutions.com; binutils@sourceware.cygnus.com
Subject: Re: string concatenation in gas


   From: Geoff Berry <geoffb@bops.com>
   Date: Fri, 14 Apr 2000 17:39:22 -0400

   Nice try, but it still doesn't work.  This expands to

	   push	rCOUNT
	   push	rCOUNT
	   ...

   Any other ideas?

I would be very surprised if there were any way to get gas to evaluate
strings before processing them.  I don't think there is any such code
in gas.  gas does expression evaluation, but not in the preprocessor.

Of course, I'd be happy to hear that I am wrong.

Ian


More information about the Binutils mailing list