53 Commits (4169dbca50877f75de219b5bee44c31db1fed045)

Author SHA1 Message Date
Peter Johnson a7b6526ea4 Get rid of calc_bc_dist_func, the only times this was used was when 19 years ago
Peter Johnson 4c33af41ec Revamp error/warning handling, using a model similar to Python's internal 19 years ago
Peter Johnson 9fa87cdae1 Massive cleanup of relocation and WRT handling. Closes #49 and lays the 19 years ago
Peter Johnson 36ff44b3ac Fix ELF64 relocations for common, global, and common+global symbols to match 19 years ago
Michael Urman 8b38ea65cb Deconst yasm_expr_get_intnum's return, allowing inplace modifications to 20 years ago
Peter Johnson 713ab6d384 * expr.h (yasm_expr_extract_seg): Comment change: remove documentation for 20 years ago
Peter Johnson 2ac9e732f2 * expr.c (yasm_expr_extract_symrec): Add "relocate" parameter. Use it to 20 years ago
Peter Johnson 1a86c34026 * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 20 years ago
Peter Johnson 55438b7229 Massive libyasm / module interface update - Phase 1 21 years ago
Peter Johnson 616be0ba09 Add yasm_expr_extract_wrt() to separate portions of WRT expression. 21 years ago
Peter Johnson 3de47f7b4d Add \rcs, \endrcs, \license, and \endlicense wrappers around $IdPath$ and 22 years ago
Peter Johnson c3d042d742 Change parameter name for yasm_expr_extract_segment declaration to ep to 22 years ago
Peter Johnson 13cbbfcb4a Add support for FAR call/jmp. Because of the jmp label, label equ seg:off 22 years ago
Peter Johnson cfc6bf0ded Clean up and simplify libyasm.h options and symbol visibility: 22 years ago
Peter Johnson d710166b48 Comment for Doxygen documentation generation. Comment-only changes. 22 years ago
Peter Johnson 0786a76895 Make libyasm a "real" library, including installing header files. 22 years ago
Peter Johnson d9f68d6d4b Unmodularize errwarn, while making key errwarn functions replaceable. 22 years ago
Peter Johnson a2e07e1e10 The Great Renaming (prefixing with yasm_), Part 1. 22 years ago
Peter Johnson b1faf6329c Relicense under 2-clause BSD license. 22 years ago
Peter Johnson 9f6cb6783f Modularize errwarn. gettext()-ize in errwarn, not in every module, eliminating 22 years ago
Peter Johnson 2f19ce4ecd Delete last of global variables by making a line manager and passing around 22 years ago
Peter Johnson d6f22c3fce Dynamically load all modules (preloading some of the default ones). 22 years ago
Peter Johnson 4c3bb4a7cc Get rid of expr_xform_neg_tree(), integrating its functionality into 22 years ago
Peter Johnson fab557b414 Add expr_extract_symrec() to assist in performing relocation output. 22 years ago
Peter Johnson a3a9fd2aa0 Completely revamp how label resolution is done (part of Bug#6). Now calculates 22 years ago
Peter Johnson c5ef1bf2dc Eliminate duplicate code for callbacks from expr_expand_labelequ() by moving 22 years ago
Peter Johnson 3320945f95 Massive restructuring of lexing and parsing (NASM-compatible parser). 22 years ago
Peter Johnson f8bfa83597 Make expr_print() take a const expr. 23 years ago
Peter Johnson a6f0bff972 Splint cleanups: expr_copy_* don't take a NULL, so they can't return NULL. 23 years ago
Peter Johnson adfc2e10c9 Add expr_get_floatnum(). 23 years ago
Peter Johnson d85e7014a8 Binary object format output! Lots of structural changes needed, particularly 23 years ago
Peter Johnson e23d88b957 Make resolve_label() take a symrec * instead of a section * and bytecode *. 23 years ago
Peter Johnson fbf87da90a Comment fix. 23 years ago
Peter Johnson 825eaa5823 Massive cleanup of debugging output (via _print() functions). All now take 23 years ago
Peter Johnson 29f7d9a917 New function: expr_get_symrec(). 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson d7fe402fb9 Split away x86-specific parts of expression handling (eg, effective address -> 23 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 23 years ago
Peter Johnson e7bab50cf2 Parse NOSPLIT. 23 years ago
Peter Johnson 121f93b0a0 *COMPLETELY* rewrite most of expression handling. 23 years ago
Peter Johnson 6a7504341f Add _copy() constructor. 23 years ago
Peter Johnson 68c9dcc62c Add several major functions, including effective address ModRM calculation 23 years ago
Peter Johnson df1245459f Add parsing of memory expressions. Currently adds a lot of duplication for 23 years ago
Peter Johnson 8149291eca Add expr_contains_float() and symrec_get_equ() functions. These are the first 23 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 23 years ago
Peter Johnson 48a36cdf22 Make most data structures opaque, keeping internals truly internal and making the 23 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson edf74fe9ea Run through GNU indent using indent profile. Manually fix some changes 23 years ago
Peter Johnson bb595a8f02 Formatting changes and starting to comment more heavily. 24 years ago