]> granicus.if.org Git - yasm/log
yasm
22 years agoFix warning.
Peter Johnson [Tue, 12 Mar 2002 05:45:50 +0000 (05:45 -0000)]
Fix warning.

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

22 years agoAdd bin object format.
Peter Johnson [Sun, 10 Mar 2002 23:15:14 +0000 (23:15 -0000)]
Add bin object format.
Changes to:
 objfmt interface: added parameter to directive() for sections access.
 section interface: moved start to be present for all section types.
 basic optimizer: add section start to offset determination.
(much of the section start changes are due to the need to make sure offsets
don't end up being optimized into byte-sized offsets that can't be relocated).

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

22 years agoAllow replacing with no extension (eg w/o an appended '.'). Needed for bin
Peter Johnson [Sun, 10 Mar 2002 23:07:20 +0000 (23:07 -0000)]
Allow replacing with no extension (eg w/o an appended '.').  Needed for bin
objfmt output.

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

22 years agoMove BitCount() macro from hamt.c to util.h.
Peter Johnson [Sun, 10 Mar 2002 20:21:50 +0000 (20:21 -0000)]
Move BitCount() macro from hamt.c to util.h.

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

22 years agoAdd yapp-token.c.
Peter Johnson [Sun, 10 Mar 2002 06:04:29 +0000 (06:04 -0000)]
Add yapp-token.c.

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

22 years agoFixed some warnings.
Michael Urman [Sun, 10 Mar 2002 02:41:44 +0000 (02:41 -0000)]
Fixed some warnings.
The wussy way, cause i didn't comment any of the new prototypes.

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

22 years agoAdd const char *in_filename arguments to
Michael Urman [Thu, 7 Mar 2002 08:50:39 +0000 (08:50 -0000)]
Add const char *in_filename arguments to
 - preproc initialize function
 - parser parse function (to pass to preproc initialize)
so that the preprocessor has a clue what file it's in.

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

22 years agoYAPP has arrived.
Michael Urman [Thu, 7 Mar 2002 08:32:22 +0000 (08:32 -0000)]
YAPP has arrived.

Or at least it has begun.  At this point it can only handle:
%define
%if*def
%el*def
%else
%endif
%include (to some degree; needs a lot of thought, but recurses fine)
and replacing simple %defines (like %define foo bar)

And like all code, it's probably horribly inconsistent about variable
names, etc.  We'll wash it later.

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

22 years agoUpdate main files to include support for yapp.
Michael Urman [Thu, 7 Mar 2002 08:26:50 +0000 (08:26 -0000)]
Update main files to include support for yapp.
This includes defaulting to yapp for ./yasm -e passes.

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

22 years agoEnhance bc_resolve() implementation a bit, but comment out, as this function
Peter Johnson [Thu, 7 Mar 2002 07:40:40 +0000 (07:40 -0000)]
Enhance bc_resolve() implementation a bit, but comment out, as this function
will probably disappear in the near future (its functionality will be handled
directly by the object format module without the need for another pass).

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

22 years agoSupport NASM syntax of options such as -fobj (as well as -f obj).
Peter Johnson [Wed, 6 Mar 2002 08:23:29 +0000 (08:23 -0000)]
Support NASM syntax of options such as -fobj (as well as -f obj).

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

22 years agoAllow preprocess-only and setting of preproc. Update main() and related
Peter Johnson [Wed, 6 Mar 2002 06:02:21 +0000 (06:02 -0000)]
Allow preprocess-only and setting of preproc.  Update main() and related
functions to be a bit more clean.

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

22 years agoUpdate bug mailing address to <bug-yasm@tortall.net>.
Peter Johnson [Wed, 6 Mar 2002 05:59:19 +0000 (05:59 -0000)]
Update bug mailing address to <bug-yasm@tortall.net>.

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

22 years agoUse non-preprocessed BITS directive so this can be assembled with current YASM.
Peter Johnson [Sat, 2 Mar 2002 22:39:35 +0000 (22:39 -0000)]
Use non-preprocessed BITS directive so this can be assembled with current YASM.

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

22 years agoRevamp object format functional interface a bit. Now, only the output()
Peter Johnson [Wed, 27 Feb 2002 05:43:16 +0000 (05:43 -0000)]
Revamp object format functional interface a bit.  Now, only the output()
function gets a FILE *, and it's the only function that can write to a file.
The object file is thus not opened until AFTER parsing and most error checking
is complete.  Necessitated adding a special case for the dbg object format
because it needs to output to the "object" (debug) file from essentially every
function.  Added a global (debug_file) to support this.

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

22 years agoEnable second pass (resolve/calculate known values).
Peter Johnson [Wed, 27 Feb 2002 05:40:46 +0000 (05:40 -0000)]
Enable second pass (resolve/calculate known values).

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

22 years agoInclude errwarn.h to declare ErrorAt().
Peter Johnson [Thu, 21 Feb 2002 05:30:48 +0000 (05:30 -0000)]
Include errwarn.h to declare ErrorAt().

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

22 years agoTest circular reference detection. Very basic examples from NASM's docs on
Peter Johnson [Wed, 20 Feb 2002 08:16:13 +0000 (08:16 -0000)]
Test circular reference detection.  Very basic examples from NASM's docs on
critical expressions.
NASM behavior: 1-3 fail, 4 generates a 4-byte offset in the memory expression.
YASM behavior: 1&2 fail (and rightfully so :), 3 works as expected, and 4
 generates a 1-byte offset.

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

22 years agoIndicate actual line number of circular reference error.
Peter Johnson [Wed, 20 Feb 2002 08:05:10 +0000 (08:05 -0000)]
Indicate actual line number of circular reference error.

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

22 years agoBring up-to-date with traverse function changes. Start trying to check for
Peter Johnson [Wed, 20 Feb 2002 07:43:26 +0000 (07:43 -0000)]
Bring up-to-date with traverse function changes.  Start trying to check for
circular references.

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

22 years agoCorrect optimize() comment.
Peter Johnson [Wed, 20 Feb 2002 07:40:13 +0000 (07:40 -0000)]
Correct optimize() comment.

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

22 years agoTerminate & cleanup early if an error occurs during the optimization phase.
Peter Johnson [Wed, 20 Feb 2002 07:39:27 +0000 (07:39 -0000)]
Terminate & cleanup early if an error occurs during the optimization phase.

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

22 years agoReverse how traverse functions do early termination (now, they terminate on
Peter Johnson [Wed, 20 Feb 2002 07:38:41 +0000 (07:38 -0000)]
Reverse how traverse functions do early termination (now, they terminate on
a non-zero func return and return the value func returned).  Document the
changes in the header files.

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

22 years agoFix issue with how symrec's are handled when an expression is copied: old code
Peter Johnson [Wed, 20 Feb 2002 07:35:43 +0000 (07:35 -0000)]
Fix issue with how symrec's are handled when an expression is copied: old code
just assigned the pointer: but the symrec is deleted (if it's not in the symbol
table) when the expr is deleted.  Thus, we need to create a copy of the symrec
instead of just reusing the same value if it's going to be deleted later.  This
trickles down to objfmt to copy the objfmt-local data.

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

22 years agoAdded --version option. Pass option descriptions, --help, and --version
Peter Johnson [Thu, 14 Feb 2002 09:04:20 +0000 (09:04 -0000)]
Added --version option.  Pass option descriptions, --help, and --version
messages through gettext.  Rework handling of --version and --help.

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

22 years agoAdd semicolon at end of error handling code to fix syntax errors. Only seen
Peter Johnson [Wed, 13 Feb 2002 05:32:30 +0000 (05:32 -0000)]
Add semicolon at end of error handling code to fix syntax errors.  Only seen
on Cygwin so far, but a legitimate error.

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

23 years agoBring up-to-date with tree and build changes.
Peter Johnson [Sat, 2 Feb 2002 05:08:39 +0000 (05:08 -0000)]
Bring up-to-date with tree and build changes.

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

23 years agoEnhance error/warning framework by allowing specific warnings to be disabled,
Peter Johnson [Sun, 13 Jan 2002 08:53:24 +0000 (08:53 -0000)]
Enhance error/warning framework by allowing specific warnings to be disabled,
all warnings to be disabled, and warnings to be treated as errors, much in the
style of GNU tools such as gcc.

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

23 years agoCheck for param=NULL before dereferencing it in sopt case.
Peter Johnson [Sun, 13 Jan 2002 01:10:19 +0000 (01:10 -0000)]
Check for param=NULL before dereferencing it in sopt case.

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

23 years agoDon't compact into a short form if one's not available.
Peter Johnson [Fri, 11 Jan 2002 07:26:45 +0000 (07:26 -0000)]
Don't compact into a short form if one's not available.

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

23 years agoMake jcc's default to JR_SHORT in NASM syntax, and test for this possibility
Peter Johnson [Fri, 11 Jan 2002 07:12:57 +0000 (07:12 -0000)]
Make jcc's default to JR_SHORT in NASM syntax, and test for this possibility
in calc_len().

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

23 years agoFinish bc_calc_len(), with fixes to x86_bc_calc_len_insn()'s EA sizing calcs,
Peter Johnson [Fri, 11 Jan 2002 05:04:47 +0000 (05:04 -0000)]
Finish bc_calc_len(), with fixes to x86_bc_calc_len_insn()'s EA sizing calcs,
and implementation of x86_bc_calc_len_jmprel().

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

23 years agoIn optimize_bytecode(), calculate bc->offset *before* calling bc_calc_len().
Peter Johnson [Fri, 11 Jan 2002 04:36:23 +0000 (04:36 -0000)]
In optimize_bytecode(), calculate bc->offset *before* calling bc_calc_len().
This is because calc_len may want to know the current bytecode's offset (eg for
determining relative displacement length).

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

23 years agoImplement rest of bc_calc_len for general bytecodes.
Peter Johnson [Fri, 11 Jan 2002 02:59:33 +0000 (02:59 -0000)]
Implement rest of bc_calc_len for general bytecodes.

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

23 years agoDon't store "determined" immediate len and neg. Both will be determined from
Peter Johnson [Thu, 10 Jan 2002 05:39:25 +0000 (05:39 -0000)]
Don't store "determined" immediate len and neg.  Both will be determined from
the expr when that's actually possible.

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

23 years agoAdd comment about bc_calc_len() possibly returning -1.
Peter Johnson [Thu, 10 Jan 2002 05:29:22 +0000 (05:29 -0000)]
Add comment about bc_calc_len() possibly returning -1.

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

23 years agoFix memory leak.
Peter Johnson [Thu, 10 Jan 2002 05:16:19 +0000 (05:16 -0000)]
Fix memory leak.
Add assert call to silence LCLint.

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

23 years agoRework resolve_label() and add a second pass.
Peter Johnson [Thu, 10 Jan 2002 05:02:40 +0000 (05:02 -0000)]
Rework resolve_label() and add a second pass.

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

23 years agoAdd new bc_resolve() family, and rewrite calc_len to /just/ calculate the
Peter Johnson [Thu, 10 Jan 2002 05:01:36 +0000 (05:01 -0000)]
Add new bc_resolve() family, and rewrite calc_len to /just/ calculate the
length, not modify anything else (particularly expressions w/temp. resolved
labels).

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

23 years agoAdd bcs_next (STAILQ_NEXT).
Peter Johnson [Wed, 9 Jan 2002 09:38:19 +0000 (09:38 -0000)]
Add bcs_next (STAILQ_NEXT).

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

23 years agoAdd bcs_first() (STAILQ_FIRST).
Peter Johnson [Wed, 9 Jan 2002 09:32:41 +0000 (09:32 -0000)]
Add bcs_first() (STAILQ_FIRST).

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

23 years agoTiny formatting fix.
Peter Johnson [Wed, 9 Jan 2002 09:11:17 +0000 (09:11 -0000)]
Tiny formatting fix.

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

23 years agoChange return type of calc_len() family back to int from unsigned long.
Peter Johnson [Wed, 9 Jan 2002 09:10:36 +0000 (09:10 -0000)]
Change return type of calc_len() family back to int from unsigned long.

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

23 years ago- Use new symrec_get_label().
Peter Johnson [Wed, 9 Jan 2002 09:04:41 +0000 (09:04 -0000)]
- Use new symrec_get_label().
- Change optimize() function to return void.
- Pass LCLint.

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

23 years agoAdd basic optimizer to checks.
Peter Johnson [Wed, 9 Jan 2002 09:03:29 +0000 (09:03 -0000)]
Add basic optimizer to checks.

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

23 years agoRemove symrec_get_int_value(), add symrec_get_label().
Peter Johnson [Wed, 9 Jan 2002 09:02:33 +0000 (09:02 -0000)]
Remove symrec_get_int_value(), add symrec_get_label().

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

23 years agoGeneral code cleanup.
Peter Johnson [Wed, 9 Jan 2002 08:36:02 +0000 (08:36 -0000)]
General code cleanup.

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

23 years agoLCLint cleanups.
Peter Johnson [Wed, 9 Jan 2002 08:27:38 +0000 (08:27 -0000)]
LCLint cleanups.

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

23 years agoFix one line odd error: missing initialization of step.
Michael Urman [Wed, 9 Jan 2002 08:15:57 +0000 (08:15 -0000)]
Fix one line odd error: missing initialization of step.

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

23 years agoBe nice for debugging purposes and set effaddr sib=0 even when it's not valid.
Peter Johnson [Wed, 9 Jan 2002 07:25:16 +0000 (07:25 -0000)]
Be nice for debugging purposes and set effaddr sib=0 even when it's not valid.

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

23 years agoMake resolve_label() take a symrec * instead of a section * and bytecode *.
Peter Johnson [Wed, 9 Jan 2002 07:23:00 +0000 (07:23 -0000)]
Make resolve_label() take a symrec * instead of a section * and bytecode *.
Extend expr_expand_equ() into expr_expand_labelequ() and call resolve_label()
here.

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

23 years agoRemove unused variable declaration.
Peter Johnson [Wed, 9 Jan 2002 07:13:42 +0000 (07:13 -0000)]
Remove unused variable declaration.

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

23 years agoChange from linked list to vector representation for line mapping.
Michael Urman [Wed, 9 Jan 2002 07:06:18 +0000 (07:06 -0000)]
Change from linked list to vector representation for line mapping.

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

23 years agoComment fix.
Peter Johnson [Wed, 9 Jan 2002 07:03:47 +0000 (07:03 -0000)]
Comment fix.

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

23 years agobc_calc_len() family should return unsigned long, not int.
Peter Johnson [Wed, 9 Jan 2002 05:05:21 +0000 (05:05 -0000)]
bc_calc_len() family should return unsigned long, not int.

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

23 years agoCut bitvect allocations even more by making a bitvect_from_Dec_static() and
Peter Johnson [Wed, 9 Jan 2002 04:35:51 +0000 (04:35 -0000)]
Cut bitvect allocations even more by making a bitvect_from_Dec_static() and
associated _Boot and _Shutdown.

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

23 years agoAllocate single static temporary bitvect for conversions (as most conversions
Peter Johnson [Wed, 9 Jan 2002 03:26:05 +0000 (03:26 -0000)]
Allocate single static temporary bitvect for conversions (as most conversions
will be <=32 bits in size).

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

23 years agodmalloc is enabled with DMALLOC, not DDMALLOC.
Peter Johnson [Wed, 9 Jan 2002 03:22:18 +0000 (03:22 -0000)]
dmalloc is enabled with DMALLOC, not DDMALLOC.

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

23 years agodmalloc is enabled with DMALLOC, not DDMALLOC.
Peter Johnson [Wed, 9 Jan 2002 03:22:18 +0000 (03:22 -0000)]
dmalloc is enabled with DMALLOC, not DDMALLOC.

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

23 years agoFree in_filename.
Peter Johnson [Wed, 9 Jan 2002 02:57:02 +0000 (02:57 -0000)]
Free in_filename.

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

23 years agoDon't shadow global (standard C) "index" (noticed by LCLint).
Peter Johnson [Wed, 9 Jan 2002 00:04:56 +0000 (00:04 -0000)]
Don't shadow global (standard C) "index" (noticed by LCLint).

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

23 years agoCorrect for renamed/moved files.
Peter Johnson [Wed, 9 Jan 2002 00:04:09 +0000 (00:04 -0000)]
Correct for renamed/moved files.

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

23 years agoLCLint-inspired cleanups.
Peter Johnson [Wed, 9 Jan 2002 00:03:37 +0000 (00:03 -0000)]
LCLint-inspired cleanups.

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

23 years agoLine number is a long (found by lclint).
Peter Johnson [Wed, 9 Jan 2002 00:02:52 +0000 (00:02 -0000)]
Line number is a long (found by lclint).

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

23 years agoChange from current file/line dual storage to a monotonically-increasing line
Peter Johnson [Mon, 7 Jan 2002 07:42:27 +0000 (07:42 -0000)]
Change from current file/line dual storage to a monotonically-increasing line
"index".  This fixes some problems with assumptions made by various parts of
the code that are invalidated when the line number doesn't always increase (eg.
when the NASM %line directive is used).
Speed fixes are needed to the implementation of the line_* functions in
globals.c before this is finished.

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

23 years agoRemove programmer documentation out of source tree and into the yasm-doc CVS
Peter Johnson [Fri, 28 Dec 2001 06:16:56 +0000 (06:16 -0000)]
Remove programmer documentation out of source tree and into the yasm-doc CVS
module.  Since user documentation is going to be the only doc/ stuff, get rid
of user subdirectory.  Eliminate top-level doc/Makefile.am as user doc
generation will be integrated into top-level Makefile.am (or maybe
doc/Makefile.inc).

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

23 years agoRemove programmer documentation out of source tree and into the yasm-doc CVS
Peter Johnson [Fri, 28 Dec 2001 06:16:54 +0000 (06:16 -0000)]
Remove programmer documentation out of source tree and into the yasm-doc CVS
module.  Since user documentation is going to be the only doc/ stuff, get rid
of user subdirectory.  Eliminate top-level doc/Makefile.am as user doc
generation will be integrated into top-level Makefile.am (or maybe
doc/Makefile.inc).

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

23 years agoFix warnings that appear with -O turned on.
Peter Johnson [Fri, 28 Dec 2001 05:50:40 +0000 (05:50 -0000)]
Fix warnings that appear with -O turned on.

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

23 years agoAdd tests/Makefile.inc to EXTRA_DIST.
Peter Johnson [Fri, 28 Dec 2001 05:50:20 +0000 (05:50 -0000)]
Add tests/Makefile.inc to EXTRA_DIST.

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

23 years agoignore automake's error on multiple lex.am invocations
Michael Urman [Thu, 27 Dec 2001 04:59:57 +0000 (04:59 -0000)]
ignore automake's error on multiple lex.am invocations

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

23 years agoChange EXTRA_DIST to reflect movement of strsep.c and mergesort.c.
Peter Johnson [Thu, 27 Dec 2001 04:06:05 +0000 (04:06 -0000)]
Change EXTRA_DIST to reflect movement of strsep.c and mergesort.c.

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

23 years agoMake sure bison gets -d flag (creates a separate header file).
Peter Johnson [Thu, 27 Dec 2001 04:00:58 +0000 (04:00 -0000)]
Make sure bison gets -d flag (creates a separate header file).

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

23 years agoFix issues with yy->nasm_parser_ renaming. AM_YFLAGS/AM_LFLAGS are not an
Peter Johnson [Thu, 27 Dec 2001 03:52:10 +0000 (03:52 -0000)]
Fix issues with yy->nasm_parser_ renaming.  AM_YFLAGS/AM_LFLAGS are not an
option because those are /global/ for the entire project.

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

23 years agoGet rid of --disable-check option. It no longer has any effect.
Peter Johnson [Wed, 26 Dec 2001 22:04:25 +0000 (22:04 -0000)]
Get rid of --disable-check option.  It no longer has any effect.

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

23 years agoGet rid of --disable-check option. It no longer has any effect.
Peter Johnson [Wed, 26 Dec 2001 22:04:25 +0000 (22:04 -0000)]
Get rid of --disable-check option.  It no longer has any effect.

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

23 years agoMoved function replacements to top-level.
Peter Johnson [Wed, 26 Dec 2001 21:25:51 +0000 (21:25 -0000)]
Moved function replacements to top-level.

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

23 years agoAdd @LIBOBJS@ to library linkages (for missing functions).
Peter Johnson [Wed, 26 Dec 2001 21:24:36 +0000 (21:24 -0000)]
Add @LIBOBJS@ to library linkages (for missing functions).

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

23 years agoLink with @LIBOBJS@ (for replacement functions).
Peter Johnson [Wed, 26 Dec 2001 21:18:31 +0000 (21:18 -0000)]
Link with @LIBOBJS@ (for replacement functions).

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

23 years agoRemove config/* files, and automatically create the config directory in
Peter Johnson [Wed, 26 Dec 2001 20:52:44 +0000 (20:52 -0000)]
Remove config/* files, and automatically create the config directory in
autogen.sh if it's not present.  This will have the needed config/ files
generated by automake -a when they're needed.

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

23 years agoFailed builds could prevent updating of "latest" symlink. Also now record
Peter Johnson [Wed, 26 Dec 2001 19:14:05 +0000 (19:14 -0000)]
Failed builds could prevent updating of "latest" symlink.  Also now record
stderr output as well as stdout.

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

23 years agoInclude intl from build directory, not source directory.
Peter Johnson [Wed, 26 Dec 2001 19:03:56 +0000 (19:03 -0000)]
Include intl from build directory, not source directory.

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

23 years agoAdd intl directory to INCLUDES.
Peter Johnson [Wed, 26 Dec 2001 18:48:40 +0000 (18:48 -0000)]
Add intl directory to INCLUDES.

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

23 years agoThis was significantly out of date. Bring up-to-date with current source.
Peter Johnson [Wed, 26 Dec 2001 18:42:10 +0000 (18:42 -0000)]
This was significantly out of date.  Bring up-to-date with current source.

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

23 years agoBring up-to-date with new generated files (due to new build structure).
Peter Johnson [Wed, 26 Dec 2001 08:08:12 +0000 (08:08 -0000)]
Bring up-to-date with new generated files (due to new build structure).

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

23 years agoRemove stamp-h.in to fix distcheck issue when autogen-ing more than once.
Peter Johnson [Wed, 26 Dec 2001 08:03:51 +0000 (08:03 -0000)]
Remove stamp-h.in to fix distcheck issue when autogen-ing more than once.

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

23 years agoDon't include config/* files explicitly (they're included implicitly if
Peter Johnson [Wed, 26 Dec 2001 07:52:47 +0000 (07:52 -0000)]
Don't include config/* files explicitly (they're included implicitly if
needed).  Remove config.guess and config.sub, as automake -a doesn't seem to
update them.

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

23 years agoMassive build system change: single Makefile instead of recursive.
Peter Johnson [Wed, 26 Dec 2001 07:14:06 +0000 (07:14 -0000)]
Massive build system change: single Makefile instead of recursive.
Note: still is automake-generated, but uses .inc files in the various
subdirectories instead of .am files.
TODO: Move arch-specific components of bytecode_test and memexpr_test to
arch/x86.

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

23 years agoMassive build system change: single Makefile instead of recursive.
Peter Johnson [Wed, 26 Dec 2001 07:14:05 +0000 (07:14 -0000)]
Massive build system change: single Makefile instead of recursive.
Note: still is automake-generated, but uses .inc files in the various
subdirectories instead of .am files.
TODO: Move arch-specific components of bytecode_test and memexpr_test to
arch/x86.

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

23 years agoFix build problem on Linux with toascii() define.
Peter Johnson [Mon, 24 Dec 2001 18:01:12 +0000 (18:01 -0000)]
Fix build problem on Linux with toascii() define.

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

23 years agoRemove quoting from AC_CONFIG_AUX_DIR and AM_CONFIG_HEADER.
Peter Johnson [Mon, 24 Dec 2001 17:55:21 +0000 (17:55 -0000)]
Remove quoting from AC_CONFIG_AUX_DIR and AM_CONFIG_HEADER.

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

23 years agoRemove quoting from AC_CONFIG_AUX_DIR and AM_CONFIG_HEADER.
Peter Johnson [Mon, 24 Dec 2001 17:55:21 +0000 (17:55 -0000)]
Remove quoting from AC_CONFIG_AUX_DIR and AM_CONFIG_HEADER.

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

23 years agoAdd autoconf 2.50-based configure.ac. Keep configure.in around for 2.13
Peter Johnson [Mon, 24 Dec 2001 17:51:43 +0000 (17:51 -0000)]
Add autoconf 2.50-based configure.ac.  Keep configure.in around for 2.13
compatibility, but bring up to date with new organization of configure.ac.
Remove CHECK_FLAGS.  Someday, remove autoconf 2.13-based files.

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

23 years agoAdd autoconf 2.50-based configure.ac. Keep configure.in around for 2.13
Peter Johnson [Mon, 24 Dec 2001 17:51:43 +0000 (17:51 -0000)]
Add autoconf 2.50-based configure.ac.  Keep configure.in around for 2.13
compatibility, but bring up to date with new organization of configure.ac.
Remove CHECK_FLAGS.  Someday, remove autoconf 2.13-based files.

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

23 years agoStart work on optimizer module. Moved all "post-parser-finalization" code
Peter Johnson [Fri, 7 Dec 2001 03:32:05 +0000 (03:32 -0000)]
Start work on optimizer module.  Moved all "post-parser-finalization" code
into the optimizer stage, where it belongs.  Naming has changed, but most
implementations have not been brought up to date to do what they say they
do.

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

23 years agoLCLint-related comment fixes.
Peter Johnson [Mon, 3 Dec 2001 07:37:33 +0000 (07:37 -0000)]
LCLint-related comment fixes.

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

23 years agoAdd support for incbin pseudo-instruction.
Peter Johnson [Mon, 3 Dec 2001 07:33:48 +0000 (07:33 -0000)]
Add support for incbin pseudo-instruction.

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

23 years agoMove assert.h include to util.h
Peter Johnson [Mon, 3 Dec 2001 03:05:51 +0000 (03:05 -0000)]
Move assert.h include to util.h
In util.h, define NDEBUG if not running lint.

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

23 years agoAdd opt_flags (space for use by the optimizer).
Peter Johnson [Mon, 3 Dec 2001 02:52:44 +0000 (02:52 -0000)]
Add opt_flags (space for use by the optimizer).

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

23 years agoPlug memory leak in floatnum_new().
Peter Johnson [Mon, 3 Dec 2001 00:55:00 +0000 (00:55 -0000)]
Plug memory leak in floatnum_new().

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

23 years agostrcmp() returns 0 if the strings are equal.
Peter Johnson [Sun, 2 Dec 2001 23:23:12 +0000 (23:23 -0000)]
strcmp() returns 0 if the strings are equal.

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