94 Commits (e60fe7b21cf1f86fa3d50597628e7adf61ad6245)

Author SHA1 Message Date
Peter Johnson cfc6bf0ded Clean up and simplify libyasm.h options and symbol visibility: 22 years ago
Peter Johnson 8f91cd9d24 Change how bytecode and section lists are allocated. When YASM_INTERNAL is not 22 years ago
Peter Johnson 0ab3ae5153 Flatten arch interface, changing some parse function names in the process. 22 years ago
Peter Johnson dd1d356936 De-constify yasm_bytecode parameter to yasm_output_expr_func. 22 years ago
Peter Johnson 0caa11ff3b Enable more warnings and perform code cleanups to avoid them. 22 years ago
Peter Johnson 0786a76895 Make libyasm a "real" library, including installing header files. 22 years ago
Peter Johnson 84ee559be7 The Great Renaming (prefixing with yasm_), Part 2: allocation functions. 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 d54377029e bc_new_objfmt_data() was creating a bytecode with the incorrect type. 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 23 years ago
Peter Johnson 2f19ce4ecd Delete last of global variables by making a line manager and passing around 23 years ago
Peter Johnson caf89035f8 Remove indent_level global by passing it as a parameter. 23 years ago
Peter Johnson d6f22c3fce Dynamically load all modules (preloading some of the default ones). 23 years ago
Peter Johnson 9d9618eeba Add offset parameter to output_expr functions (needed for relocation support). 23 years ago
Peter Johnson c5bfd97db6 Make bytecode and effaddr "data" extensions more portable by including the 23 years ago
Peter Johnson 494ed1738d Make output endian-tolerant by making intnum and floatnum output functions for 23 years ago
Peter Johnson e4411d414d Make bcs_last() a fully visible function rather than a bc-int macro. 23 years ago
Peter Johnson 3466293ed7 bc_tobytes(): Check for multiple of 0 and return with bufsize of 0. 23 years ago
Peter Johnson a3a9fd2aa0 Completely revamp how label resolution is done (part of Bug#6). Now calculates 23 years ago
Peter Johnson 090a25b8d4 Rename intnum_new_int to intnum_new_uint, and add new signed version of 23 years ago
Peter Johnson c5ef1bf2dc Eliminate duplicate code for callbacks from expr_expand_labelequ() by moving 23 years ago
Peter Johnson 3320945f95 Massive restructuring of lexing and parsing (NASM-compatible parser). 23 years ago
Peter Johnson f8f1c204f7 Bytecode and objfmt changes: 23 years ago
Peter Johnson ac2743de63 Prevent spurious "Circular reference detected" errors by refining the return 23 years ago
Peter Johnson 4407d49d66 During the first pass of basic optimization, continue reporting errors, don't 23 years ago
Peter Johnson 58cc15c1d6 Change handling of res* (no longer require that the entire containing buffer 23 years ago
Peter Johnson a6d468b938 Splint cleanups. 23 years ago
Peter Johnson 9398eb518e Add some splint-suggested cleanups. 23 years ago
Peter Johnson fe8c2a009f Restructure bc_calc_len() family into bc_resolve() family. Many many many 23 years ago
Peter Johnson d85e7014a8 Binary object format output! Lots of structural changes needed, particularly 23 years ago
Peter Johnson 62750a30d3 Enhance bc_resolve() implementation a bit, but comment out, as this function 23 years ago
Peter Johnson 8a515e968a Reverse how traverse functions do early termination (now, they terminate on 23 years ago
Peter Johnson 66bf6be085 Implement rest of bc_calc_len for general bytecodes. 23 years ago
Peter Johnson 5b2166d50a Don't store "determined" immediate len and neg. Both will be determined from 23 years ago
Peter Johnson ee74365f05 Add new bc_resolve() family, and rewrite calc_len to /just/ calculate the 23 years ago
Peter Johnson cc635cc237 Change return type of calc_len() family back to int from unsigned long. 23 years ago
Peter Johnson e23d88b957 Make resolve_label() take a symrec * instead of a section * and bytecode *. 23 years ago
Peter Johnson e2f2ede90c bc_calc_len() family should return unsigned long, not int. 23 years ago
Peter Johnson 3f2186c1bf Change from current file/line dual storage to a monotonically-increasing line 23 years ago
Peter Johnson 2727869bd8 Start work on optimizer module. Moved all "post-parser-finalization" code 24 years ago
Peter Johnson 0f852333df LCLint-related comment fixes. 24 years ago
Peter Johnson ae85d1edb1 Add support for incbin pseudo-instruction. 24 years ago
Peter Johnson e8d7d5cad9 Add opt_flags (space for use by the optimizer). 24 years ago
Peter Johnson 825eaa5823 Massive cleanup of debugging output (via _print() functions). All now take 24 years ago
Peter Johnson 7a3761ac0c Plug memory leak in dvs_delete(). 24 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 24 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 24 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 24 years ago