635 Commits (0e349f552d3f7008ea28bb0fc67767b594537777)

Author SHA1 Message Date
Peter Johnson 4169dbca50 Fix some bugs in step 2. Actually pass len_diff to expand_term and don't 19 years ago
Peter Johnson 61ff7870c9 Implement first cut at optimizer step 2. Limitations: 19 years ago
Peter Johnson 28bcc64283 Build up interval tree. Change how SPECIAL_BC_OFFSET is handled for better 19 years ago
Peter Johnson c93d1eb596 * compat-queue.h: Update; adds FOREACH_*_SAFE, removes circular queues. 19 years ago
Peter Johnson 1d3f2ded23 Move towards building interval tree by splitting dependent value into 19 years ago
Peter Johnson da4a8ebe1c yasm_intnum_set_int(): Oops; compile before committing next time. 19 years ago
Peter Johnson 7ebf4d268e Add yasm_intnum_set_int(). 19 years ago
Peter Johnson 71cdd65edc Actually bring interval tree implementation into repo. 19 years ago
Peter Johnson 449f058b3b Revert value.c/h changes made in [1567]. 19 years ago
Peter Johnson 25a2df0247 Move closer to implementing Q. 19 years ago
Peter Johnson 114cee8b06 Implement first phase of align and org. 19 years ago
Peter Johnson 53d9be8757 Reimplement optimizer pass 1b and fix x86 so that jumps handle one pass of 19 years ago
Peter Johnson 1e22524186 yasm_object_optimize(): Fix error/warning handling by using the new method. 19 years ago
Peter Johnson ff5b74bf5b Fix all tests with miscomparing object files. Dramatically clean up some 19 years ago
Peter Johnson ad687bb34a Get rid of origin_prevbc; it's no longer needed due to yasm_value handling 19 years ago
Peter Johnson ccf729f6f4 Fix cross-reference filename/line number. We were reporting (wrongly) the 19 years ago
Peter Johnson a7b6526ea4 Get rid of calc_bc_dist_func, the only times this was used was when 19 years ago
Peter Johnson 406461adb2 * bc-data.c (yasm_bc_create_data): Fix crash on empty string (e.g. db ''). 19 years ago
Peter Johnson 23be1d813f Change yasm_value macros into functions. Fix up the prototype of 19 years ago
Peter Johnson 26e2ac882f Change calc_len to call back to add_span function so that multiple spans can 19 years ago
Peter Johnson a5680da3aa * value.c (yasm_value_output_basic): The destsize parameter accidentally got 19 years ago
Peter Johnson fe09480565 Fix major bug related to multiple handling. Unfortunately this slows down 19 years ago
Peter Johnson 83c0ecaaec * coretype.h (yasm_value): Add size field (specified in bits). 19 years ago
Peter Johnson ad54f1bf5c * bc-int.h (yasm_bytecode_callback): Add reserve flag to indicate if the 19 years ago
Peter Johnson 620f6a9a5e * expr.c (expr_get_item): Refactor itempool code. 19 years ago
Peter Johnson d5a77fddaf Try to combine as much data as possible into single raw (used to be string) 19 years ago
Peter Johnson 6bf9c3de47 * expr.c: Don't hit the allocator so hard with tiny temporary requests when 19 years ago
Peter Johnson 2f1e7fa171 * errwarn.c (yasm_error_matches): Make real function, fix a bug with checking 19 years ago
Peter Johnson 0cee5955be * errwarn.h (yasm_warn_set, yasm_warn_set_va): Fix doxygen arg list comments. 19 years ago
Peter Johnson 4c33af41ec Revamp error/warning handling, using a model similar to Python's internal 19 years ago
Peter Johnson 871b6ff6fb * hamt.c (HAMT_insert): Avoid hash collisions by checking full string on hash 19 years ago
Peter Johnson d354b090e2 * intnum.c (yasm_intnum_calc): Use BitVector_Compare, not Lexicompare; 19 years ago
Peter Johnson ba76728ded * symrec.pxi: Implement iterators. 19 years ago
Peter Johnson bbf23a557d * intnum.c (yasm_intnum_create_sized): New, reverse function of 19 years ago
Peter Johnson a581559202 Change the NASM preprocessor to use yasm_intnum and yasm_expr. This 19 years ago
Peter Johnson e974b3d13e * xstrdup.c: Remove compatibility shims that, due to this file's inclusion in gap, broke DJGPP 19 years ago
Peter Johnson 0b3d7600ca * coretype.h (yasm_output_value_func): Remove splint reference to ep. 19 years ago
Peter Johnson 110cc94e27 * expr.c (expr_simplify_identity): Fix crash when there are greater than 2 19 years ago
Peter Johnson 1b5b5fd342 * combpath_test.c: Add a couple of tests with drive letters in the mix. 19 years ago
Peter Johnson 3268c5e367 Finally fix brokenness that was NASM imported preprocessor include path 19 years ago
Peter Johnson f8541ca249 * splitpath_test.c: Include file.h not splitpath.c to match [1433]. 19 years ago
Peter Johnson 1f1642f284 In preparation for more file handling functions to get moved to libyasm, 19 years ago
Peter Johnson 93660bd073 First cut at CodeView (version "8" / 2005 only). Completely untested. 19 years ago
Peter Johnson c87c2ec3c0 * libyasm/Makefile.inc: Alphabetize source and include files. 19 years ago
Peter Johnson 0cdfa29994 Add a feature and fix a long-standing bug in Win64 output. The new feature 19 years ago
Peter Johnson 21e1b864d8 * value.c (value_finalize_expr): Check for purely -1*symrec cases; these 19 years ago
Peter Johnson 9fa87cdae1 Massive cleanup of relocation and WRT handling. Closes #49 and lays the 19 years ago
Peter Johnson d0ebe182cc Eliminate some signed/unsigned character mismatches in GAP build. 19 years ago
Peter Johnson 135d4727dd More gracefully handle absolute section refernce expansion, and allow for 19 years ago
Peter Johnson 8e98bbff23 * arch.h (yasm_arch_create): Fix doxygen reference. 19 years ago