635 Commits (0e349f552d3f7008ea28bb0fc67767b594537777)

Author SHA1 Message Date
Peter Johnson fa1654f7b9 Add SAVE_*, READ_*, and LOAD_* families of little-endian macros. 23 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 23 years ago
Peter Johnson 902d974288 Save filename as well as line number for each symbol. 23 years ago
Peter Johnson 197f8857e4 Change error/warning framework to store a list of errors and warnings instead 23 years ago
Peter Johnson f9209d5200 Used ternary search tree instead of linked list to store symbol table. 23 years ago
Peter Johnson df62b73779 Add check and BSD replacement for strsep(3). 23 years ago
Peter Johnson ecf19c6170 Delete ancient symrec cruft. 23 years ago
Peter Johnson b3f0a1c6b8 Make name and keyword const. 23 years ago
Peter Johnson ac22f77d42 Get initial bits setting from object format. Change the initial section name 23 years ago
Peter Johnson f173e9e042 Include stddef.h for size_t. 23 years ago
Peter Johnson 5bed5011d0 Make sure | and == done in right order. 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 3bd6541c5f Allow make check and tests module to be disabled, as it's not portable yet. 23 years ago
Peter Johnson 556602d2fa Add portable little-endian file functions. 23 years ago
Peter Johnson 1284d8d8af Pull in GCC and ELF alternatives for RCSID() if available. 23 years ago
Peter Johnson 1fd753346c Build section linked list, and support the section directive, including 23 years ago
Peter Johnson a95f135cc2 Completely test ConvertRegToEA(). 23 years ago
Peter Johnson 0b24caa55c Cleanup of local .cvsignore files after addition of global CVSROOT/cvsignore. 23 years ago
Peter Johnson 9397744af8 Add unit test framework using Check (http://check.sourceforge.net/). 23 years ago
Michael Urman caba67b7d6 Fixed two ansi C errors (empty file and extra semicolon) 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson d758a063b2 Add barebones optimizer module framework. 23 years ago
Peter Johnson 695ab62056 Whoa, oops! Bad bug in bytecode_new_common (wasn't returning allocated bc). 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 303bc90f72 Add prototypes for strcasecmp and strncasecmp if we use our own implementation. 23 years ago
Peter Johnson c09f4addc8 Check for case-insensitive string comparisons. Use strcasecmp and strncasecmp 23 years ago
Peter Johnson fa6e459ce5 Use abort() instead of exit() if it's available for InternalError() and 23 years ago
Peter Johnson 84e0411c49 Use queue.h macros in section.h, and reference bytecode using bytecodehead. 23 years ago
Peter Johnson 074b748ece Rename outfmt to objfmt and related files and directories. "objfmt" is more 23 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 bcd6236091 Add RCSID() function. 24 years ago
Peter Johnson ae600ce442 Use STAILQ's for datavals and bytecodes. 24 years ago
Peter Johnson 8d62e17ce2 Use the FreeBSD version of <sys/queue.h> instead of the OpenBSD version 24 years ago
Peter Johnson b4668a5405 Use header-reuse #defines that are ANSI C compatible. 24 years ago
Peter Johnson 28940100d4 Add <sys/queue.h> to util.h and pull in compatible, portable version from 24 years ago
Peter Johnson edf74fe9ea Run through GNU indent using indent profile. Manually fix some changes 24 years ago
Peter Johnson 5cd594556a Declare type enum correctly. 24 years ago
Peter Johnson 7ba343f346 New modular directory structure: parsers, preprocs, and outfmts. 24 years ago
Peter Johnson b3a5266c00 Add "error when reading from file" error. 24 years ago
Peter Johnson 50cd4f238f Add global filename variable and handling for a filename passed on the 24 years ago
Peter Johnson 1fa31332b6 Add lexing, parsing, and internal format for strings and character constants. 24 years ago
Peter Johnson bb595a8f02 Formatting changes and starting to comment more heavily. 24 years ago
Peter Johnson d4c6d24a9e At least in NASM syntax, there is no differentation between labels and data 24 years ago
Peter Johnson fa5c9d5ea9 First attempt at supporting relative jump instructions. A few hacks, but 24 years ago
Michael Urman c4d985f1ad Integrate expression handling into memory address expressions. 24 years ago
Michael Urman 0cb10aa577 Fixed the non-ansi attempts to pass a union member casted as the union 24 years ago