]> granicus.if.org Git - yasm/log
yasm
23 years agoAdd mergesort() replacement from BSD sources.
Peter Johnson [Fri, 26 Oct 2001 04:32:18 +0000 (04:32 -0000)]
Add mergesort() replacement from BSD sources.

svn path=/trunk/yasm/; revision=292

23 years agoRCSID() breaks under DJGPP because of "__unused". Removing __unused shouldn't
Peter Johnson [Sun, 21 Oct 2001 00:13:24 +0000 (00:13 -0000)]
RCSID() breaks under DJGPP because of "__unused".  Removing __unused shouldn't
cause any problems, really, so just removed it.

svn path=/trunk/yasm/; revision=291

23 years agoAdd "very flat" (based on Makefile.flat) makefiles and config.h files for
Peter Johnson [Sat, 20 Oct 2001 23:37:13 +0000 (23:37 -0000)]
Add "very flat" (based on Makefile.flat) makefiles and config.h files for
DJGPP and Visual C++.  These are build-only (not development).

svn path=/trunk/yasm/; revision=290

23 years agoPrototype, very simple, flat Makefile for use in compiling (but NOT developing)
Peter Johnson [Sat, 20 Oct 2001 21:40:02 +0000 (21:40 -0000)]
Prototype, very simple, flat Makefile for use in compiling (but NOT developing)
on other platforms.

svn path=/trunk/yasm/; revision=289

23 years agoUpdate comment on disp.len to match changes in expr.c.
Peter Johnson [Thu, 18 Oct 2001 07:02:11 +0000 (07:02 -0000)]
Update comment on disp.len to match changes in expr.c.

svn path=/trunk/yasm/; revision=288

23 years agoAdd parser finalization check for undefined symbols.
Peter Johnson [Mon, 15 Oct 2001 07:25:47 +0000 (07:25 -0000)]
Add parser finalization check for undefined symbols.

svn path=/trunk/yasm/; revision=287

23 years agoAdd symrec_get_visibility().
Peter Johnson [Mon, 15 Oct 2001 07:13:16 +0000 (07:13 -0000)]
Add symrec_get_visibility().

svn path=/trunk/yasm/; revision=286

23 years agoCall expr_expand_equ() on effective address from bytecode_parser_finalize().
Peter Johnson [Mon, 15 Oct 2001 07:07:55 +0000 (07:07 -0000)]
Call expr_expand_equ() on effective address from bytecode_parser_finalize().

svn path=/trunk/yasm/; revision=285

23 years agoAdd _copy() constructor.
Peter Johnson [Mon, 15 Oct 2001 07:04:01 +0000 (07:04 -0000)]
Add _copy() constructor.
Add expr_expand_equ().

svn path=/trunk/yasm/; revision=284

23 years agoAdd first version of post-parsing bytecode finalization. Lots of work still
Peter Johnson [Mon, 15 Oct 2001 04:42:47 +0000 (04:42 -0000)]
Add first version of post-parsing bytecode finalization.  Lots of work still
to be done at the bytecode and expression level.

svn path=/trunk/yasm/; revision=283

23 years agoAdd several major functions, including effective address ModRM calculation
Peter Johnson [Mon, 15 Oct 2001 04:40:45 +0000 (04:40 -0000)]
Add several major functions, including effective address ModRM calculation
(only 16-bit is implemented at the moment) via expr_checkea().

svn path=/trunk/yasm/; revision=282

23 years agoChange order of arguments for get_ and check_ functions to better match other
Peter Johnson [Mon, 15 Oct 2001 04:34:11 +0000 (04:34 -0000)]
Change order of arguments for get_ and check_ functions to better match other
functions (floatnum * as first arg).

svn path=/trunk/yasm/; revision=281

23 years agoAllow both signed and unsigned interpretations for get_int and check_size.
Peter Johnson [Mon, 15 Oct 2001 04:32:16 +0000 (04:32 -0000)]
Allow both signed and unsigned interpretations for get_int and check_size.
Change argument order on get_int and check_size to better match other
functions (intnum * first arg).

svn path=/trunk/yasm/; revision=280

23 years agoAdd parsing of memory expressions. Currently adds a lot of duplication for
Peter Johnson [Fri, 12 Oct 2001 03:36:10 +0000 (03:36 -0000)]
Add parsing of memory expressions.  Currently adds a lot of duplication for
the expressions in the yacc code, but I don't see an easier way right now.
Also, no validity checking is done.

svn path=/trunk/yasm/; revision=279

23 years agoAdd expr_contains_float() and symrec_get_equ() functions. These are the first
Peter Johnson [Fri, 12 Oct 2001 02:34:30 +0000 (02:34 -0000)]
Add expr_contains_float() and symrec_get_equ() functions.  These are the first
of many functions like this which will be needed for advanced validity checking
in the finalization of the parser stage.
Fix yacc grammar to not use the (incorrect) expr_no_fltstr, and change memexp
to memexpr and its handling to prepare for memory expressions.

svn path=/trunk/yasm/; revision=278

23 years agoClarify and fix some usages of valid/need flags for modrm and sib bytes.
Peter Johnson [Fri, 12 Oct 2001 02:29:31 +0000 (02:29 -0000)]
Clarify and fix some usages of valid/need flags for modrm and sib bytes.
In bytecode_print(), check for NULL ea displacement and print out modrm and
sib bytes in octal (because it's easier to read the 2/3/3 format in octal).

svn path=/trunk/yasm/; revision=277

23 years agoDon't allow floats to be used as targets of jumps.
Peter Johnson [Thu, 11 Oct 2001 23:09:34 +0000 (23:09 -0000)]
Don't allow floats to be used as targets of jumps.

svn path=/trunk/yasm/; revision=276

23 years agoSupport TIMES prefix. Split expr parsing to have a no-float and no-string
Peter Johnson [Thu, 11 Oct 2001 22:55:04 +0000 (22:55 -0000)]
Support TIMES prefix.  Split expr parsing to have a no-float and no-string
version (for times and reserve space).

svn path=/trunk/yasm/; revision=275

23 years agoFix conficts created when adding EQU.
Peter Johnson [Thu, 11 Oct 2001 19:15:45 +0000 (19:15 -0000)]
Fix conficts created when adding EQU.

svn path=/trunk/yasm/; revision=274

23 years agoFix handling of numeric constants ending in a single character (h,q,b).
Peter Johnson [Thu, 11 Oct 2001 18:59:13 +0000 (18:59 -0000)]
Fix handling of numeric constants ending in a single character (h,q,b).

svn path=/trunk/yasm/; revision=273

23 years agoHandle EQU. Handle BITS directive. Move directive handling out to separate
Peter Johnson [Thu, 11 Oct 2001 17:33:30 +0000 (17:33 -0000)]
Handle EQU.  Handle BITS directive.  Move directive handling out to separate
function.

svn path=/trunk/yasm/; revision=272

23 years agoRemove NULL return checks; BitVector uses xmalloc(), so they aren't necessary.
Peter Johnson [Thu, 11 Oct 2001 05:37:34 +0000 (05:37 -0000)]
Remove NULL return checks; BitVector uses xmalloc(), so they aren't necessary.

svn path=/trunk/yasm/; revision=271

23 years agoFix LOTS of little nits. Primary changes:
Peter Johnson [Thu, 11 Oct 2001 05:34:50 +0000 (05:34 -0000)]
Fix LOTS of little nits.  Primary changes:
 - New intnum module to replace using just unsigned long (for >32 bit values).
   Read values using BitVector instead of strtoul().
 - Brought both floatnum and intnum into expr (still need to integrate calc for
   floatnum).
 - Add traversal function to ternary tree (for use by symrec_foreach).
 - Change floatnum output interface from single/double/extended to byte size.
 - Try to make floatnum/intnum interfaces very similar.  Still needs work.
 - Add/fix *_print functions, including interating ones for sections/bytecodes.
 - Fix handling of $ and $$.  Both now are properly parsed and bytecode'd.
 - Print out all sections and symbol table in main() in preparation for work
   on "cleanup" functionality between parser and optimizer stages (really part
   of the parser stage).

svn path=/trunk/yasm/; revision=270

23 years agoOutput "real" version and package names (from config.h).
Peter Johnson [Thu, 11 Oct 2001 00:14:25 +0000 (00:14 -0000)]
Output "real" version and package names (from config.h).

svn path=/trunk/yasm/; revision=269

23 years agoAdd BitVector_from_Oct() and tests for it.
Peter Johnson [Sun, 7 Oct 2001 23:02:43 +0000 (23:02 -0000)]
Add BitVector_from_Oct() and tests for it.

svn path=/trunk/yasm/; revision=268

23 years agoChange comment to include im_ptr in list of things that cannot be reused or
Peter Johnson [Thu, 4 Oct 2001 06:03:29 +0000 (06:03 -0000)]
Change comment to include im_ptr in list of things that cannot be reused or
changed after calling bytecode_new_insn().

svn path=/trunk/yasm/; revision=267

23 years agoMake data.insn.imm within bytecode a pointer. This prevents leakage in calls to
Peter Johnson [Thu, 4 Oct 2001 06:01:44 +0000 (06:01 -0000)]
Make data.insn.imm within bytecode a pointer.  This prevents leakage in calls to
bytecode_new_insn().

svn path=/trunk/yasm/; revision=266

23 years agoUse xmalloc() instead of malloc().
Peter Johnson [Thu, 4 Oct 2001 03:59:07 +0000 (03:59 -0000)]
Use xmalloc() instead of malloc().

svn path=/trunk/yasm/; revision=265

23 years agoMove SymStatus and SymType to symrec.c from symrec.h. They're only used
Peter Johnson [Thu, 4 Oct 2001 02:37:08 +0000 (02:37 -0000)]
Move SymStatus and SymType to symrec.c from symrec.h.  They're only used
internally.

svn path=/trunk/yasm/; revision=264

23 years agoFix SHR operation, and do some reindentation.
Peter Johnson [Thu, 4 Oct 2001 02:31:23 +0000 (02:31 -0000)]
Fix SHR operation, and do some reindentation.

svn path=/trunk/yasm/; revision=263

23 years agoUse wordptr and charptr when appropriate for data when using BitVector functions.
Peter Johnson [Wed, 3 Oct 2001 20:49:38 +0000 (20:49 -0000)]
Use wordptr and charptr when appropriate for data when using BitVector functions.
Make some minor comment corrections.

svn path=/trunk/yasm/; revision=262

23 years agoMake most data structures opaque, keeping internals truly internal and making the
Peter Johnson [Wed, 3 Oct 2001 20:42:17 +0000 (20:42 -0000)]
Make most data structures opaque, keeping internals truly internal and making the
overall structure much more modular.
The test files, which need access to the internals of the structures being
tested, now include the source file instead of the header file to gain access
to all internal formats and functions.

svn path=/trunk/yasm/; revision=261

23 years agoTest floatnum_new().
Peter Johnson [Wed, 3 Oct 2001 08:02:08 +0000 (08:02 -0000)]
Test floatnum_new().

svn path=/trunk/yasm/; revision=260

23 years agoConst'ify floatnum_new() input string.
Peter Johnson [Wed, 3 Oct 2001 08:00:53 +0000 (08:00 -0000)]
Const'ify floatnum_new() input string.

svn path=/trunk/yasm/; revision=259

23 years agoAdd floatnum_delete().
Peter Johnson [Wed, 3 Oct 2001 07:46:16 +0000 (07:46 -0000)]
Add floatnum_delete().

svn path=/trunk/yasm/; revision=258

23 years agoFix mantissa rounding overflow issue: 0xff -> 0x100, and shift right -> 0x80 is
Peter Johnson [Wed, 3 Oct 2001 07:41:11 +0000 (07:41 -0000)]
Fix mantissa rounding overflow issue: 0xff -> 0x100, and shift right -> 0x80 is
not correct except when the 1 bit is explicit.

svn path=/trunk/yasm/; revision=257

23 years agoCompletely revamp format and extensiveness of testing.
Peter Johnson [Wed, 3 Oct 2001 07:14:48 +0000 (07:14 -0000)]
Completely revamp format and extensiveness of testing.
Currently two tests fail (the approx 1.e-38 in single and double precision).
Need still to add tests for ASCII->internal conversion.

svn path=/trunk/yasm/; revision=256

23 years agoImplement floatnum_print() (for debugging purposes only).
Peter Johnson [Wed, 3 Oct 2001 07:12:46 +0000 (07:12 -0000)]
Implement floatnum_print() (for debugging purposes only).

svn path=/trunk/yasm/; revision=255

23 years agoAdd copyright and GPL comments.
Peter Johnson [Wed, 3 Oct 2001 02:47:46 +0000 (02:47 -0000)]
Add copyright and GPL comments.

svn path=/trunk/yasm/; revision=254

23 years agomalloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs
Peter Johnson [Wed, 3 Oct 2001 02:27:41 +0000 (02:27 -0000)]
malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc.  The x* family performs
error checking.  Remove check for strdup() from configure, as we don't need it.

svn path=/trunk/yasm/; revision=253

23 years agoAdd some (optional through configure) additional warning flags. Add options
Peter Johnson [Wed, 3 Oct 2001 01:44:47 +0000 (01:44 -0000)]
Add some (optional through configure) additional warning flags.  Add options
to configure to enable profiling and enable -Werror.  Make changes to ensure
everything builds with all additional warnings and -Werror enabled.  Most of
these changes consist of adding "const" modifiers for functions that get
constant literal strings.

svn path=/trunk/yasm/; revision=252

23 years agoFinish ASCII->internal FP conversion and clean up single/double/extended
Peter Johnson [Tue, 2 Oct 2001 23:24:15 +0000 (23:24 -0000)]
Finish ASCII->internal FP conversion and clean up single/double/extended
conversion functions.  For accuracy, change from 64-bit to 80-bit internal
mantissa.  Modify tests to match new internal format.
TODO: Denormalized numbers, and write more tests!

svn path=/trunk/yasm/; revision=251

23 years agoCheck for NULL datavals to avoid crashes.
Peter Johnson [Tue, 2 Oct 2001 05:09:42 +0000 (05:09 -0000)]
Check for NULL datavals to avoid crashes.

svn path=/trunk/yasm/; revision=250

23 years agoAdded command line parsing
Stanislav Karchebny [Fri, 28 Sep 2001 05:11:00 +0000 (05:11 -0000)]
Added command line parsing

svn path=/trunk/yasm/; revision=249

23 years agoAdd *Now and *At error and warning functions. *At functions still need to
Peter Johnson [Thu, 27 Sep 2001 18:51:37 +0000 (18:51 -0000)]
Add *Now and *At error and warning functions.  *At functions still need to
be implemented.  Consider a rename of these functions at some point?

svn path=/trunk/yasm/; revision=248

23 years agoImplement floating point size conversions (with help from BitVector).
Peter Johnson [Thu, 27 Sep 2001 07:55:36 +0000 (07:55 -0000)]
Implement floating point size conversions (with help from BitVector).
Interface changed slightly (only affects symrec.c right now).  Tests committed
to check a single case (pi) with all three size conversion functions.
Still need to write to/from ASCII string functions (the hard part).

svn path=/trunk/yasm/; revision=247

23 years agoInitialize BitVector framework.
Peter Johnson [Thu, 27 Sep 2001 07:52:57 +0000 (07:52 -0000)]
Initialize BitVector framework.

svn path=/trunk/yasm/; revision=246

23 years agoMade gmon and core files globally ignored.
Peter Johnson [Thu, 27 Sep 2001 07:52:12 +0000 (07:52 -0000)]
Made gmon and core files globally ignored.

svn path=/trunk/yasm/; revision=245

23 years agoIgnore all test executables as well as gmon and core files.
Peter Johnson [Thu, 27 Sep 2001 07:50:43 +0000 (07:50 -0000)]
Ignore all test executables as well as gmon and core files.

svn path=/trunk/yasm/; revision=243

23 years agoAdd BitVector documentation. These docs are really for the Perl side, but
Peter Johnson [Thu, 27 Sep 2001 02:36:26 +0000 (02:36 -0000)]
Add BitVector documentation.  These docs are really for the Perl side, but
are certainly better than nothing.

svn path=/trunk/yasm/; revision=242

23 years agoIntegrate 6.0 changes.
Peter Johnson [Wed, 26 Sep 2001 23:59:16 +0000 (23:59 -0000)]
Integrate 6.0 changes.

svn path=/trunk/yasm/; revision=241

23 years agoAdd RCSID().
Peter Johnson [Wed, 26 Sep 2001 22:45:16 +0000 (22:45 -0000)]
Add RCSID().

svn path=/trunk/yasm/; revision=238

23 years agoAdd GNU Library General Public License (version 2) to CVS and distribution
Peter Johnson [Wed, 26 Sep 2001 22:42:43 +0000 (22:42 -0000)]
Add GNU Library General Public License (version 2) to CVS and distribution
because that's the license bitvect is under.

svn path=/trunk/yasm/; revision=237

23 years agoFix gcc -Wall warnings.
Peter Johnson [Wed, 26 Sep 2001 22:39:39 +0000 (22:39 -0000)]
Fix gcc -Wall warnings.

svn path=/trunk/yasm/; revision=236

23 years agoAdd bitvect to build framework. C file still produces some warnings; these
Peter Johnson [Wed, 26 Sep 2001 22:37:42 +0000 (22:37 -0000)]
Add bitvect to build framework.  C file still produces some warnings; these
will be fixed in the next commit.

svn path=/trunk/yasm/; revision=235

23 years agoInitial revision
Peter Johnson [Wed, 26 Sep 2001 22:17:44 +0000 (22:17 -0000)]
Initial revision

svn path=/trunk/yasm/; revision=231

23 years agoAdd SAVE_*, READ_*, and LOAD_* families of little-endian macros.
Peter Johnson [Wed, 26 Sep 2001 20:54:37 +0000 (20:54 -0000)]
Add SAVE_*, READ_*, and LOAD_* families of little-endian macros.

svn path=/trunk/yasm/; revision=230

23 years agoFix large parts of expression and symbol handling. Actually link in labels
Peter Johnson [Wed, 26 Sep 2001 00:57:55 +0000 (00:57 -0000)]
Fix large parts of expression and symbol handling.  Actually link in labels
properly (bug #8).  Framework added for portable floating point support (bug
#7).  Lots of functions still not finished in this commit.

svn path=/trunk/yasm/; revision=229

23 years agoConst-ize string input parameters.
Peter Johnson [Tue, 25 Sep 2001 23:30:52 +0000 (23:30 -0000)]
Const-ize string input parameters.

svn path=/trunk/yasm/; revision=228

23 years agoSave filename as well as line number for each symbol.
Peter Johnson [Mon, 24 Sep 2001 21:44:28 +0000 (21:44 -0000)]
Save filename as well as line number for each symbol.

svn path=/trunk/yasm/; revision=224

23 years agoChange error/warning framework to store a list of errors and warnings instead
Peter Johnson [Mon, 24 Sep 2001 21:39:45 +0000 (21:39 -0000)]
Change error/warning framework to store a list of errors and warnings instead
of just one at a time.  This is the groundwork for printing undefined symbol
messages, which can't be determined until after parsing has been completed
(and should be in the same line order with the other errors).

svn path=/trunk/yasm/; revision=223

23 years agoFirst version of HACKING, only for Unix and not nearly complete.
Peter Johnson [Mon, 24 Sep 2001 16:51:48 +0000 (16:51 -0000)]
First version of HACKING, only for Unix and not nearly complete.
Also makes reference to incomplete (and not in CVS) design document.

svn path=/trunk/yasm/; revision=222

23 years agoFixed nasty bug in error handling. It should have been setting the return
Peter Johnson [Mon, 24 Sep 2001 07:41:21 +0000 (07:41 -0000)]
Fixed nasty bug in error handling.  It should have been setting the return
bytecode value to NULL on error, but wasn't (random return value is bad!).

svn path=/trunk/yasm/; revision=221

23 years agoUsed ternary search tree instead of linked list to store symbol table.
Peter Johnson [Mon, 24 Sep 2001 06:40:27 +0000 (06:40 -0000)]
Used ternary search tree instead of linked list to store symbol table.
Cleaned up function naming too.
Removed locallabel_base from global.h, moving it into the parser-specific code.
Made sym_table private to symrec.c.

svn path=/trunk/yasm/; revision=220

23 years agoRemove redundant check for features.h, and cache GNU C Library test.
Peter Johnson [Mon, 24 Sep 2001 06:08:56 +0000 (06:08 -0000)]
Remove redundant check for features.h, and cache GNU C Library test.

svn path=/trunk/yasm/; revision=219

23 years agoAdd check and BSD replacement for strsep(3).
Peter Johnson [Mon, 24 Sep 2001 05:57:28 +0000 (05:57 -0000)]
Add check and BSD replacement for strsep(3).

svn path=/trunk/yasm/; revision=218

23 years agoDelete ancient symrec cruft.
Peter Johnson [Mon, 24 Sep 2001 02:00:10 +0000 (02:00 -0000)]
Delete ancient symrec cruft.

svn path=/trunk/yasm/; revision=217

23 years agoIntegrate ternary search trees into build.
Peter Johnson [Sun, 23 Sep 2001 23:12:51 +0000 (23:12 -0000)]
Integrate ternary search trees into build.

svn path=/trunk/yasm/; revision=216

23 years agoInitial revision
Peter Johnson [Sun, 23 Sep 2001 23:04:04 +0000 (23:04 -0000)]
Initial revision

svn path=/trunk/yasm/; revision=212

23 years agoMake name and keyword const.
Peter Johnson [Sun, 23 Sep 2001 19:26:31 +0000 (19:26 -0000)]
Make name and keyword const.

svn path=/trunk/yasm/; revision=211

23 years agoGet initial bits setting from object format. Change the initial section name
Peter Johnson [Sun, 23 Sep 2001 19:22:04 +0000 (19:22 -0000)]
Get initial bits setting from object format.  Change the initial section name
from a function to a constant string.  Make mode_bits uniformily an unsigned
char instead of an int.

svn path=/trunk/yasm/; revision=210

23 years agoDefine YY_NEVER_INTERACTIVE, because we never are :).
Peter Johnson [Thu, 20 Sep 2001 07:13:40 +0000 (07:13 -0000)]
Define YY_NEVER_INTERACTIVE, because we never are :).

svn path=/trunk/yasm/; revision=209

23 years agoCheck for snprintf (used in Check suite). Also define _GNU_SOURCE for Check
Peter Johnson [Thu, 20 Sep 2001 07:02:05 +0000 (07:02 -0000)]
Check for snprintf (used in Check suite).  Also define _GNU_SOURCE for Check
to stop warnings on Linux.

svn path=/trunk/yasm/; revision=208

23 years agoRemove error message for check when check is disabled. It breaks check (and
Peter Johnson [Thu, 20 Sep 2001 06:53:25 +0000 (06:53 -0000)]
Remove error message for check when check is disabled.  It breaks check (and
distcheck) on linux.

svn path=/trunk/yasm/; revision=207

23 years agoInclude stddef.h for size_t.
Peter Johnson [Thu, 20 Sep 2001 06:43:19 +0000 (06:43 -0000)]
Include stddef.h for size_t.

svn path=/trunk/yasm/; revision=206

23 years agoMake sure | and == done in right order.
Peter Johnson [Thu, 20 Sep 2001 06:38:27 +0000 (06:38 -0000)]
Make sure | and == done in right order.

svn path=/trunk/yasm/; revision=205

23 years agoTry to fix configure and automake files so everything builds a bit cleaner.
Peter Johnson [Thu, 20 Sep 2001 06:25:05 +0000 (06:25 -0000)]
Try to fix configure and automake files so everything builds a bit cleaner.
Also try to fix the warnings on the GNU C Library.
Still a lot of work and testing to be done here, but making progress.

svn path=/trunk/yasm/; revision=204

23 years agoCleaned up bytecode data structure, some effaddr functions. Made ea an
Peter Johnson [Thu, 20 Sep 2001 03:21:26 +0000 (03:21 -0000)]
Cleaned up bytecode data structure, some effaddr functions.  Made ea an
effaddr * instead of an effaddr to decrease size of bytecode.  Changed parser
to use effaddr * as well.  Finally fixed issue with ONE by adding flag to
bytecode.data.insn and utilizing spare bytes of the opcode.  Hackish, but
works.

svn path=/trunk/yasm/; revision=203

23 years agoAdded README and NEWS to EXTRA_DIST.
Peter Johnson [Thu, 20 Sep 2001 02:38:07 +0000 (02:38 -0000)]
Added README and NEWS to EXTRA_DIST.

svn path=/trunk/yasm/; revision=202

23 years agoAutoconfize Check test suite, and make it work even if fork(), wait(), and
Peter Johnson [Wed, 19 Sep 2001 21:56:00 +0000 (21:56 -0000)]
Autoconfize Check test suite, and make it work even if fork(), wait(), and
msg*() aren't available.

svn path=/trunk/yasm/; revision=201

23 years agoAllow make check and tests module to be disabled, as it's not portable yet.
Peter Johnson [Wed, 19 Sep 2001 19:35:53 +0000 (19:35 -0000)]
Allow make check and tests module to be disabled, as it's not portable yet.

svn path=/trunk/yasm/; revision=200

23 years agoMake sure bison.y and token.l get included in the distribution.
Peter Johnson [Wed, 19 Sep 2001 19:30:34 +0000 (19:30 -0000)]
Make sure bison.y and token.l get included in the distribution.

svn path=/trunk/yasm/; revision=199

23 years agoAdd portable little-endian file functions.
Peter Johnson [Wed, 19 Sep 2001 18:04:08 +0000 (18:04 -0000)]
Add portable little-endian file functions.

svn path=/trunk/yasm/; revision=198

23 years agoPull in GCC and ELF alternatives for RCSID() if available.
Peter Johnson [Wed, 19 Sep 2001 09:06:54 +0000 (09:06 -0000)]
Pull in GCC and ELF alternatives for RCSID() if available.
Idea from: sys/cdefs.h on FreeBSD.

svn path=/trunk/yasm/; revision=197

23 years agoBuild section linked list, and support the section directive, including
Peter Johnson [Wed, 19 Sep 2001 07:20:02 +0000 (07:20 -0000)]
Build section linked list, and support the section directive, including
asking the objfmt module.  Add some utility functions for both bytecode
and section to better modularize their data structure usage and common
code.  Rename doparse to do_parse to be consistent in naming.

svn path=/trunk/yasm/; revision=196

23 years agoCompletely test ConvertRegToEA().
Peter Johnson [Tue, 18 Sep 2001 23:21:04 +0000 (23:21 -0000)]
Completely test ConvertRegToEA().

svn path=/trunk/yasm/; revision=195

23 years agoPrint the test function name along with the test case name. Many of our
Peter Johnson [Tue, 18 Sep 2001 22:06:09 +0000 (22:06 -0000)]
Print the test function name along with the test case name.  Many of our
functions are so small that it doesn't make sense to have a test case for
every function (rather just a test function for every function).

svn path=/trunk/yasm/; revision=194

23 years agoCleanup of local .cvsignore files after addition of global CVSROOT/cvsignore.
Peter Johnson [Tue, 18 Sep 2001 18:02:23 +0000 (18:02 -0000)]
Cleanup of local .cvsignore files after addition of global CVSROOT/cvsignore.

svn path=/trunk/yasm/; revision=193

23 years agoDon't always check for Perl.
Peter Johnson [Tue, 18 Sep 2001 17:50:59 +0000 (17:50 -0000)]
Don't always check for Perl.

svn path=/trunk/yasm/; revision=191

23 years agoAdd unit test framework using Check (http://check.sourceforge.net/).
Peter Johnson [Tue, 18 Sep 2001 17:38:45 +0000 (17:38 -0000)]
Add unit test framework using Check (http://check.sourceforge.net/).
Only test included right now is a tiny one for one bytecode function, but
will grow as time goes on.
TODO: check for non ANSI C things required by Check.

svn path=/trunk/yasm/; revision=190

23 years agoInitial revision
Peter Johnson [Tue, 18 Sep 2001 17:31:02 +0000 (17:31 -0000)]
Initial revision

svn path=/trunk/yasm/; revision=186

23 years agoChange ../ to $(top_builddir). It's clearer and safer.
Peter Johnson [Tue, 18 Sep 2001 06:40:45 +0000 (06:40 -0000)]
Change ../ to $(top_builddir).  It's clearer and safer.

svn path=/trunk/yasm/; revision=185

23 years agoLimit some tools to --enable-dev only. Only check for and use them if
Peter Johnson [Tue, 18 Sep 2001 06:22:02 +0000 (06:22 -0000)]
Limit some tools to --enable-dev only.  Only check for and use them if
--enable-dev is passed to configure.

svn path=/trunk/yasm/; revision=184

23 years agoFixed two ansi C errors (empty file and extra semicolon)
Michael Urman [Tue, 18 Sep 2001 03:23:52 +0000 (03:23 -0000)]
Fixed two ansi C errors (empty file and extra semicolon)

svn path=/trunk/yasm/; revision=183

23 years agoReorganize docs into programmer and user parts. Repo-copy contrib/queue to
Peter Johnson [Tue, 18 Sep 2001 01:08:46 +0000 (01:08 -0000)]
Reorganize docs into programmer and user parts.  Repo-copy contrib/queue to
programmer/queue.

svn path=/trunk/yasm/; revision=182

23 years agoAdd rcs id.
Peter Johnson [Mon, 17 Sep 2001 23:33:15 +0000 (23:33 -0000)]
Add rcs id.

svn path=/trunk/yasm/; revision=181

23 years agoAdd configure.scan and *.tar.gz.
Peter Johnson [Mon, 17 Sep 2001 23:07:09 +0000 (23:07 -0000)]
Add configure.scan and *.tar.gz.

svn path=/trunk/yasm/; revision=180

23 years agoUse absolute paths instead of srcdir because libintl.h is built in the
Peter Johnson [Mon, 17 Sep 2001 23:05:52 +0000 (23:05 -0000)]
Use absolute paths instead of srcdir because libintl.h is built in the
build directory.  To pass distcheck we need to do it this way.

svn path=/trunk/yasm/; revision=179

23 years agoUse automake for queue docs, otherwise distcheck complains.
Peter Johnson [Mon, 17 Sep 2001 22:44:11 +0000 (22:44 -0000)]
Use automake for queue docs, otherwise distcheck complains.

svn path=/trunk/yasm/; revision=178

23 years agooptimizer.h should be listed in yasm_SOURCES and it wasn't.
Peter Johnson [Mon, 17 Sep 2001 22:43:13 +0000 (22:43 -0000)]
optimizer.h should be listed in yasm_SOURCES and it wasn't.

svn path=/trunk/yasm/; revision=177