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]
Other format: [Raw text]

GAS macro formals as expression


Hi!

Is there any possibility to evaluate an expression and store it in a
macro formal? Like \y = \x+1?

I hope that's possible but neither the docs nor the source looks like there
is a possibility for this.

Big picture: I'd like to do something like:
	concat  "jmp skProc_",\keysize,_,\n+4,_,\cpuname

But \n+4 isn't evaluated as an expression, so I'm in trouble.
Any hits?

Thanks in advance, Clemens

Attachment: pgp00000.pgp
Description: PGP signature


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