]> granicus.if.org Git - yasm/commit
Bin map file: Fix incorrect address printing for symbols.
authorPeter Johnson <peter@tortall.net>
Thu, 3 Jul 2008 04:19:12 +0000 (04:19 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 3 Jul 2008 04:19:12 +0000 (04:19 -0000)
commitbd4a2ffdb87b45354f1a5c9c27501b0175737858
treeeb7a2d2adfe832002a3539145ba6c5e6a63727a0
parent53b2d01a779913ba35c301b7e3080da15a41e8cf
Bin map file: Fix incorrect address printing for symbols.
We were printing the previous bytecode's start rather than the label's
bytecode.  Use yasm_bc_next_offset() to get the correct offset.

svn path=/trunk/yasm/; revision=2110
modules/objfmts/bin/bin-objfmt.c
modules/objfmts/bin/tests/multisect/multisect1.map
modules/objfmts/bin/tests/multisect/multisect2.map