svn commit: r1705 - in trunk/yasm: libyasm modules/arch/x86 modules/objfmts/elf/tests/gas64

peter at tortall.net peter at tortall.net
Sat Dec 9 23:05:06 PST 2006


Author: peter
Date: Sat Dec  9 23:05:06 2006
New Revision: 1705

Added:
   trunk/yasm/modules/objfmts/elf/tests/gas64/crosssect.asm
   trunk/yasm/modules/objfmts/elf/tests/gas64/crosssect.hex
Modified:
   trunk/yasm/libyasm/bc-data.c
   trunk/yasm/libyasm/bc-incbin.c
   trunk/yasm/libyasm/bc-insn.c
   trunk/yasm/libyasm/bc-reserve.c
   trunk/yasm/libyasm/bytecode.c
   trunk/yasm/libyasm/bytecode.h
   trunk/yasm/libyasm/value.c
   trunk/yasm/libyasm/value.h
   trunk/yasm/modules/arch/x86/x86arch.h
   trunk/yasm/modules/arch/x86/x86bc.c
   trunk/yasm/modules/arch/x86/x86id.c
   trunk/yasm/modules/objfmts/elf/tests/gas64/Makefile.inc
   trunk/yasm/tools/python-yasm/bytecode.pxi
   trunk/yasm/tools/python-yasm/value.pxi
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1705

Log:
Take [1423] to the next logical step by supporting the general case of
(sym in other section)-(sym in this section) rather than just
(sym in other section)-(curpos) (e.g. sym-$).  Unfortunately supporting
this required precbc to be flowed down to the value_finalize functions,
but it's relatively reasonable to do so, as all of the _finalize() routines
have access to precbc.

Reported by: Peter Tanski <peter_tanski at cox.net>



More information about the yasm-cvs mailing list