678 Commits (7a6e9cb4304d0dcd9ecbc50ebd79588adcae58f8)

Author SHA1 Message Date
Peter Johnson 6591a155d0 Check for circular equ references (Bug#8). 22 years ago
Peter Johnson a3a9fd2aa0 Completely revamp how label resolution is done (part of Bug#6). Now calculates 22 years ago
Peter Johnson c40005c223 Update comment for sym_table variable. 22 years ago
Peter Johnson 622e01725a The data argument to section_data_print() can never be null. 22 years ago
Peter Johnson e9e00fcef2 errwarn_new(): Fix bug that could cause infinite loops. 22 years ago
Peter Johnson 090a25b8d4 Rename intnum_new_int to intnum_new_uint, and add new signed version of 22 years ago
Peter Johnson 4f8f5b128f InternalError on unrecognized operations rather than just dropping them. 22 years ago
Peter Johnson b7a8747102 Move yasm core files into a libyasm shared library (avoiding backlinking). 22 years ago
Peter Johnson ba294928c6 Move cur_parser from globals to main (as it's only used in main). 22 years ago
Peter Johnson c5ef1bf2dc Eliminate duplicate code for callbacks from expr_expand_labelequ() by moving 23 years ago
Peter Johnson 4a4fd6be7d Support dynamic linking for objfmts, and make bin and dbg both dynamically 23 years ago
Peter Johnson 5f02a6f596 Re-add a hackish fix to set initial bits setting from objfmt for x86 arch. 23 years ago
Peter Johnson 3320945f95 Massive restructuring of lexing and parsing (NASM-compatible parser). 23 years ago
Peter Johnson 45333b0225 Allow objfmt initialize and cleanup function pointers to be NULL when not needed. 23 years ago
Peter Johnson da070d5964 Move strndup() declaration outside !DMALLOC #ifdef, as it's not defined by 23 years ago
Peter Johnson 77be8f8662 vps_print() should take a const valparamhead *. 23 years ago
Peter Johnson ac8d8e085a Declare errwarn_new(), error_common(), and warning_common() as static. 23 years ago
Peter Johnson f78505a6a5 Add xstrndup() to easily create a 0-terminated duplicate of a 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 4fed536d3c Revamp error/warning handling. 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 0703225136 A number of fixes to float and integer handling on the output side: 23 years ago
Peter Johnson 4fc6605a56 Properly count errors and warnings triggered by ErrorAt() and WarningAt(). 23 years ago
Peter Johnson 0d91497dd1 Have symrec manage all symbols, not just the ones in the symbol table. 23 years ago
Peter Johnson db0c353f68 Switch back to returning @dependent@ instead of @observer@. 23 years ago
Peter Johnson 590fc49113 Splint cleanups, including const change. 23 years ago
Peter Johnson 6033703a64 Splint cleanups and related bugfixes: 23 years ago
Peter Johnson f11e97b9ec Change most Splint return annotations from dependent to observer. 23 years ago
Peter Johnson 848dab8ff0 Cast SAVE_* and WRITE_* assignments to unsigned char. 23 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 bb71f908bc Splint cleanups. 23 years ago
Peter Johnson a6d468b938 Splint cleanups. 23 years ago
Peter Johnson fa5199cf4d Splint cleanups. 23 years ago
Peter Johnson 1b6ca83117 Splint cleanups on memory allocation routines. 23 years ago
Peter Johnson b9541920f1 Create global macro NELEMS to replace countof macro defined just in main.c. 23 years ago
Peter Johnson 9398eb518e Add some splint-suggested cleanups. 23 years ago
Peter Johnson aa6f573370 Update DISTFILES to reflect src/lclint.sh -> splint.sh move. 23 years ago
Peter Johnson bccc5e7ec7 When using Splint, don't try to use gettext(). 23 years ago
Peter Johnson 04df0be842 Cleanups both for and from Splint. 23 years ago
Peter Johnson c738bd3f9d Recursively expand EQU's. 23 years ago
Peter Johnson adfc2e10c9 Add expr_get_floatnum(). 23 years ago
Peter Johnson fe8c2a009f Restructure bc_calc_len() family into bc_resolve() family. Many many many 23 years ago
Peter Johnson c9e4019b28 Comment additions. 23 years ago
Peter Johnson d85e7014a8 Binary object format output! Lots of structural changes needed, particularly 23 years ago
Peter Johnson d2a2e6b3f8 Add bcs_last() macro. 23 years ago
Peter Johnson c9d73bae1e Make duplicate definition (w/regards to COMMON and EXTERN) work properly. 23 years ago
Peter Johnson 07c3299820 Add bin object format. 23 years ago