]> granicus.if.org Git - yasm/commit
Make negative times value an error case.
authorPeter Johnson <peter@tortall.net>
Sun, 30 Oct 2005 06:15:15 +0000 (06:15 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 30 Oct 2005 06:15:15 +0000 (06:15 -0000)
commit7f72306ed51e985557dbca59e7b6d03a11040a67
tree9cef0620a5b77b7c1fb416406c22c5a4e589b925
parentf03d75b1d8c949699f0481a8c5a2bf2fc9a6e95a
Make negative times value an error case.

* bytecode.c (yasm_bc_resolve, yasm_bc_tobytes): Look for negative multiple.

* timesover-err.asm: New testcase for this.

Reported by: Stefan <SMarF@gmx.de>

svn path=/trunk/yasm/; revision=1296
libyasm/bytecode.c
libyasm/tests/Makefile.inc
libyasm/tests/timesover-err.asm [new file with mode: 0644]
libyasm/tests/timesover-err.errwarn [new file with mode: 0644]