]> granicus.if.org Git - yasm/commit
* section.c (yasm_object_optimize): Set active flag to indicate it's already
authorPeter Johnson <peter@tortall.net>
Sat, 16 Sep 2006 01:36:58 +0000 (01:36 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 16 Sep 2006 01:36:58 +0000 (01:36 -0000)
commit2f6bca29f2e17a161feca2da0e81de26f97b3d8b
tree43d5a295d80df31c254b012075c8fb0dc80fdb3b
parent9d1a286f94ab0d84b11ec368bd92c219c8c5712b
* section.c (yasm_object_optimize): Set active flag to indicate it's already
on QB.  We use this flag other places, but forgot to set it here.  This
could cause an infinite loop in (rare) situations.

Reported by: Brian Gladman <brg@gladman.plus.com>
(also committed the code he sent that hits this bug as a testcase)

svn path=/trunk/yasm/; revision=1613
libyasm/section.c
libyasm/tests/Makefile.inc
libyasm/tests/opt-gvmat64.asm [new file with mode: 0644]
libyasm/tests/opt-gvmat64.errwarn [new file with mode: 0644]
libyasm/tests/opt-gvmat64.hex [new file with mode: 0644]