]> granicus.if.org Git - yasm/commit
Fix some bugs in step 2. Actually pass len_diff to expand_term and don't
authorPeter Johnson <peter@tortall.net>
Thu, 15 Jun 2006 06:38:30 +0000 (06:38 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 15 Jun 2006 06:38:30 +0000 (06:38 -0000)
commit4169dbca50877f75de219b5bee44c31db1fed045
tree394e66c1543bc776c140c253ca8ba021398e7665
parent61ff7870c9660cf586b4024aaf066288cf0be6b9
Fix some bugs in step 2.  Actually pass len_diff to expand_term and don't
expand inactive spans (per the algorithm documentation).

In the interval tree addition, sanity check inputs so high is always higher
than low.

Add a sanity check to x86_bc_jmp_expand() to detect trying to expand an
already-expanded jump.

svn path=/branches/new-optimizer/; revision=1581
libyasm/inttree.c
libyasm/section.c
modules/arch/x86/x86bc.c