This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
RE: string concatenation in gas
- To: Ian Lance Taylor <ian at zembu dot com>
- Subject: RE: string concatenation in gas
- From: Geoff Berry <geoffb at bops dot com>
- Date: Fri, 14 Apr 2000 17:51:38 -0400
- Cc: twall at domesolutions dot com, binutils at sourceware dot cygnus dot com
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