]> granicus.if.org Git - yasm/commit
Fix LOTS of little nits. Primary changes:
authorPeter Johnson <peter@tortall.net>
Thu, 11 Oct 2001 05:34:50 +0000 (05:34 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 11 Oct 2001 05:34:50 +0000 (05:34 -0000)
commit193392dcb60eff248108dbd56a4d361dbe58ee47
treece18c841198011bfbfbefcd773b305687f8d8920
parent840c0f169d8732c4f03e2110e1675bf3150b4648
Fix LOTS of little nits.  Primary changes:
 - New intnum module to replace using just unsigned long (for >32 bit values).
   Read values using BitVector instead of strtoul().
 - Brought both floatnum and intnum into expr (still need to integrate calc for
   floatnum).
 - Add traversal function to ternary tree (for use by symrec_foreach).
 - Change floatnum output interface from single/double/extended to byte size.
 - Try to make floatnum/intnum interfaces very similar.  Still needs work.
 - Add/fix *_print functions, including interating ones for sections/bytecodes.
 - Fix handling of $ and $$.  Both now are properly parsed and bytecode'd.
 - Print out all sections and symbol table in main() in preparation for work
   on "cleanup" functionality between parser and optimizer stages (really part
   of the parser stage).

svn path=/trunk/yasm/; revision=270
47 files changed:
configure.ac
configure.in
frontends/yasm/yasm.c
libyasm/bytecode.c
libyasm/bytecode.h
libyasm/expr.c
libyasm/expr.h
libyasm/floatnum.c
libyasm/floatnum.h
libyasm/intnum.c [new file with mode: 0644]
libyasm/intnum.h [new file with mode: 0644]
libyasm/section.c
libyasm/section.h
libyasm/symrec.c
libyasm/symrec.h
libyasm/tests/floatnum_test.c
libyasm/util.h
modules/arch/x86/expr.c
modules/arch/x86/x86expr.c
modules/parsers/nasm/bison.y.in
modules/parsers/nasm/nasm-bison.y
modules/parsers/nasm/token.l.in
src/Makefile.am
src/arch/x86/expr.c
src/arch/x86/x86expr.c
src/bytecode.c
src/bytecode.h
src/expr.c
src/expr.h
src/floatnum.c
src/floatnum.h
src/intnum.c [new file with mode: 0644]
src/intnum.h [new file with mode: 0644]
src/main.c
src/parsers/nasm/bison.y.in
src/parsers/nasm/nasm-bison.y
src/parsers/nasm/token.l.in
src/section.c
src/section.h
src/strtoul.c [deleted file]
src/symrec.c
src/symrec.h
src/ternary.c
src/ternary.h
src/tests/floatnum_test.c
src/util.h
util.h