nassm.c: Use evaluate for section alignment
commit9fde335005c43ccd3309d33ce85a38fc16d3c0cb
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 23 May 2011 19:50:03 +0000 (23 23:50 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 25 Jun 2011 08:05:51 +0000 (25 12:05 +0400)
tree6f82e5d7323f790a74826de34f9c0da9e201806f
parentcb00cd1ba7f07f60f0a94c43cfc4fa7b01e2ff95
nassm.c: Use evaluate for section alignment

This allow us to write the whole expressions
on section alignments, such as

align 0xa+6

or whatever math. Should be a way more convenient
than hardnumbers scheme we had.

Reported-by: Frank Kotler <fbkotler@zytor.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
nasm.c