Gas/bignum expressions
Jan Hubicka
jh@suse.cz
Wed Jun 21 05:38:00 GMT 2000
Hi
While working on x86-64 port, that needs to use 64bit immediates,
I've run into following problem.
When I write
.octa ~1
I would expect to see
ff ff ff..... fe
in the output.
But what happends is:
00 00 ... 00 ff ff ff ff
The purpose is, that whole expression gets evaulated as constant,
getting value 0xffffffff and signedness 0, so emit_expr zero
extends it and writes the resulting value.
Is that the expected behaviour, or is this an bug?
Being unable to write such an expressions for instruction immediates for
x86-64 port would be minimally strange.
Honza
More information about the Binutils
mailing list