Handle .space directive with non-constant operand:
authorKen Raeburn <raeburn@cygnus>
Sat, 31 Dec 1994 00:08:40 +0000 (00:08 +0000)
committerKen Raeburn <raeburn@cygnus>
Sat, 31 Dec 1994 00:08:40 +0000 (00:08 +0000)
commitcd3b81bd4cda2f9e04cca02ea6539be322a46986
tree3ec294699834a687853664c804eb37fc98da8ab1
parente12533e3e9b498fdd0702d5c1719eaf0bf05e5a6
Handle .space directive with non-constant operand:

* read.c (s_space): Rewrite to handle general expressions.  Generate rs_space
frags for non-constant values.
* write.c (cvt_frag_to_fill): Treat rs_align_code and rs_space like rs_align
and rs_org.  Verify that fr_offset is non-negative, and force frag type to
rs_fill only after assertion checks.
(relax_segment): Treat rs_align_code like rs_align.  Treat rs_space like rs_org
in the first switch; in the second, force the operand to a constant, and use it
for the growth size.
gas/ChangeLog
gas/read.c
gas/write.c