197 Commits (0ea57bf7bfbb841025673398501bb5201c6f9c07)

Author SHA1 Message Date
Peter Johnson 8cbf2c2312 - Greatly enhance capabilities of directives (they're actually parsed now). 23 years ago
Peter Johnson c7e3ad29e9 Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in). 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 23 years ago
Peter Johnson 65810babc4 Change PERL line to reflect instrs.dat move. 23 years ago
Peter Johnson c9d92847b6 Start framework for separating architecture-dependent functions and data 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 1d26b1de84 Fix directive memory leaks in a different way; the old way broke name/val 23 years ago
Peter Johnson 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 23 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 23 years ago
Peter Johnson e7bab50cf2 Parse NOSPLIT. 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 1708da018a Don't allow floats to be used as targets of jumps. 23 years ago
Peter Johnson 84de990744 Support TIMES prefix. Split expr parsing to have a no-float and no-string 23 years ago
Peter Johnson 256511eea8 Fix conficts created when adding EQU. 23 years ago
Peter Johnson 079c17a068 Fix handling of numeric constants ending in a single character (h,q,b). 23 years ago
Peter Johnson 124177e635 Handle EQU. Handle BITS directive. Move directive handling out to separate 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 b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 23 years ago
Peter Johnson 98e25fc1f6 Add some (optional through configure) additional warning flags. Add options 23 years ago
Peter Johnson a46ed054f7 Check for NULL datavals to avoid crashes. 23 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 23 years ago
Peter Johnson 197f8857e4 Change error/warning framework to store a list of errors and warnings instead 23 years ago
Peter Johnson 5d71f1f737 Fixed nasty bug in error handling. It should have been setting the return 23 years ago
Peter Johnson f9209d5200 Used ternary search tree instead of linked list to store symbol table. 23 years ago
Peter Johnson 63d8a451b7 Define YY_NEVER_INTERACTIVE, because we never are :). 23 years ago
Peter Johnson 91f41e241b Try to fix configure and automake files so everything builds a bit cleaner. 23 years ago
Peter Johnson 60fd596a66 Cleaned up bytecode data structure, some effaddr functions. Made ea an 23 years ago
Peter Johnson d0c4ae1572 Make sure bison.y and token.l get included in the distribution. 23 years ago
Peter Johnson 1fd753346c Build section linked list, and support the section directive, including 23 years ago
Peter Johnson 0b24caa55c Cleanup of local .cvsignore files after addition of global CVSROOT/cvsignore. 23 years ago
Peter Johnson e649bada33 Change ../ to $(top_builddir). It's clearer and safer. 23 years ago
Peter Johnson ef19b09dc2 Limit some tools to --enable-dev only. Only check for and use them if 23 years ago
Peter Johnson 79295b7e9d Add rcs id. 23 years ago
Peter Johnson 52847afaff Use absolute paths instead of srcdir because libintl.h is built in the 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson 20daa47e62 Reindent to match other code for the most part. 23 years ago
Peter Johnson f8b36698fa Update file descriptions to indicate that these files are just for the 23 years ago
Peter Johnson 3c2a67ca1c Use bytecode * instead of bytecode in parser. 23 years ago
Peter Johnson 013530034e Start building of sections and bytecodes in parser. 23 years ago
Peter Johnson ca16006ce9 Allow whitespace before a directive. 23 years ago
Peter Johnson 84e0411c49 Use queue.h macros in section.h, and reference bytecode using bytecodehead. 24 years ago
Peter Johnson 074b748ece Rename outfmt to objfmt and related files and directories. "objfmt" is more 24 years ago
Peter Johnson 45df22d110 Convert to using gettext instead of the ugly errwarn constant strings. 24 years ago
Peter Johnson 86f7268ea8 Add RCSID(). 24 years ago
Peter Johnson 77fc6dd491 Standardize order of include statements as well as autoconf'ing those source 24 years ago
Peter Johnson a34646760c Allow multiple labels on one line (it's still on the TODO list for NASM :). 24 years ago
Peter Johnson ae600ce442 Use STAILQ's for datavals and bytecodes. 24 years ago