yasm/libyasm
Peter Johnson 83c0ecaaec * 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
2006-05-10 08:54:52 +00:00
..
tests Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
arch.c Preliminary GAS parser. Only a few instructions are supported at present. 2005-09-25 04:25:26 +00:00
arch.h * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
assocdat.c * assocdat.c (yasm__assoc_data_add): Add safety valve: don't delete existing 2005-11-01 05:29:34 +00:00
assocdat.h * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
bc-align.c * bc-int.h (yasm_bytecode_callback): Add reserve flag to indicate if the 2006-05-10 04:18:23 +00:00
bc-data.c * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
bc-incbin.c * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
bc-insn.c * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
bc-int.h * bc-int.h (yasm_bytecode_callback): Add reserve flag to indicate if the 2006-05-10 04:18:23 +00:00
bc-org.c * bc-int.h (yasm_bytecode_callback): Add reserve flag to indicate if the 2006-05-10 04:18:23 +00:00
bc-reserve.c * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
bitvect.c * bitvect.c (BitVector_from_Enum): Silence compiler warning. 2006-02-05 18:53:11 +00:00
bitvect.h * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
bytecode.c * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
bytecode.h * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
compat-queue.h * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
coretype.h * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
dbgfmt.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
errwarn.c * errwarn.c (yasm_error_matches): Make real function, fix a bug with checking 2006-05-07 02:35:50 +00:00
errwarn.h * errwarn.c (yasm_error_matches): Make real function, fix a bug with checking 2006-05-07 02:35:50 +00:00
expr-int.h More gracefully handle absolute section refernce expansion, and allow for 2006-03-14 08:52:41 +00:00
expr.c * expr.c (expr_get_item): Refactor itempool code. 2006-05-09 05:17:44 +00:00
expr.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
file.c Finally fix brokenness that was NASM imported preprocessor include path 2006-03-28 09:05:53 +00:00
file.h Finally fix brokenness that was NASM imported preprocessor include path 2006-03-28 09:05:53 +00:00
floatnum.c Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
floatnum.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
genmodule.c * genmodule.c (main): Make sure len is initialized to 0. 2005-09-25 03:35:49 +00:00
hamt.c * hamt.c (HAMT_insert): Avoid hash collisions by checking full string on hash 2006-04-26 04:55:01 +00:00
hamt.h * symrec.pxi: Implement iterators. 2006-04-16 22:46:22 +00:00
intnum.c * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
intnum.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
linemgr.c * linemgr.h (yasm_linemap_traverse_filenames): New function to go through all 2006-02-11 21:33:51 +00:00
linemgr.h * linemgr.h (yasm_linemap_traverse_filenames): New function to go through all 2006-02-11 21:33:51 +00:00
listfmt.h Since modules are now built into libyasm, it's no longer necessary to 2004-12-01 08:09:43 +00:00
Makefile.inc * bc-int.h (yasm_bytecode_callback): Add reserve flag to indicate if the 2006-05-10 04:18:23 +00:00
md5.c First cut at CodeView (version "8" / 2005 only). Completely untested. 2006-03-27 02:15:19 +00:00
md5.h First cut at CodeView (version "8" / 2005 only). Completely untested. 2006-03-27 02:15:19 +00:00
mergesort.c * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
module.h Greatly simplify build system by removing libtool and integrating formerly 2004-12-01 07:49:18 +00:00
module.in Greatly simplify build system by removing libtool and integrating formerly 2004-12-01 07:49:18 +00:00
objfmt.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
optimizer.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
parser.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
phash.c Eliminate some signed/unsigned character mismatches in GAP build. 2006-03-18 22:36:21 +00:00
phash.h Eliminate some signed/unsigned character mismatches in GAP build. 2006-03-18 22:36:21 +00:00
preproc.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
section.c Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
section.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
strcasecmp.c Build cleanups (mostly for warnings) for VC8. 2006-01-11 05:51:32 +00:00
strsep.c * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
symrec.c Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
symrec.h Revamp error/warning handling, using a model similar to Python's internal 2006-05-04 07:55:32 +00:00
valparam.c * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
valparam.h * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
value.c * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
value.h * coretype.h (yasm_value): Add size field (specified in bits). 2006-05-10 08:54:52 +00:00
xmalloc.c * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 2004-09-04 01:24:57 +00:00
xstrdup.c * xstrdup.c: Remove compatibility shims that, due to this file's inclusion in gap, broke DJGPP 2006-04-07 01:47:30 +00:00