]> granicus.if.org Git - yasm/commit
* coretype.h (yasm_value): Add size field (specified in bits).
authorPeter Johnson <peter@tortall.net>
Wed, 10 May 2006 08:54:52 +0000 (08:54 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 10 May 2006 08:54:52 +0000 (08:54 -0000)
commit83c0ecaaecd05065f0cdebdce8b2950a5a9070be
tree0e1b45ab16de4443f3fc59c85a940f383a64ccbf
parent6af718163d9de834de23fd0cbd7ee1ebc51ed1b4
* coretype.h (yasm_value): Add size field (specified in bits).
(yasm_value_output_func): Remove valsize and shift parameters.
* bytecode.h (yasm_effaddr): Remove disp_len, replacing with
need_nonzero_len.
(yasm_immval): Remove len.
* value.h (yasm_value_initialize): Add size parameter.
(yasm_value_finalize_expr): Likewise.
(yasm_value_output_basic): Remove valsize and shift parameters.

Update all implementations and users for the above.

* intnum.c (yasm_intnum_calc): Fix bug in shift right (was doing a logical
instead of arithmetic shift).

* lc3b-basic.asm, lc3b-basic.errwarn, lc3b-basic.hex: Update based on
fixed warnings.

svn path=/trunk/yasm/; revision=1534
34 files changed:
libyasm/arch.h
libyasm/bc-data.c
libyasm/bc-incbin.c
libyasm/bc-insn.c
libyasm/bc-reserve.c
libyasm/bytecode.c
libyasm/bytecode.h
libyasm/coretype.h
libyasm/intnum.c
libyasm/value.c
libyasm/value.h
modules/arch/lc3b/lc3barch.c
modules/arch/lc3b/lc3bbc.c
modules/arch/lc3b/lc3bid.re
modules/arch/lc3b/tests/lc3b-basic.asm
modules/arch/lc3b/tests/lc3b-basic.errwarn
modules/arch/lc3b/tests/lc3b-basic.hex
modules/arch/x86/x86arch.c
modules/arch/x86/x86bc.c
modules/arch/x86/x86expr.c
modules/arch/x86/x86id.c
modules/dbgfmts/codeview/cv-symline.c
modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c
modules/dbgfmts/dwarf2/dwarf2-line.c
modules/listfmts/nasm/nasm-listfmt.c
modules/objfmts/bin/bin-objfmt.c
modules/objfmts/coff/coff-objfmt.c
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/xdf/xdf-objfmt.c
modules/parsers/gas/gas-bison.y
modules/parsers/nasm/nasm-bison.y
modules/parsers/nasm/nasm-token.re
tools/python-yasm/coretype.pxi
tools/python-yasm/value.pxi