Peter Johnson
ee74365f05
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 ago
Peter Johnson
4d77fa5b6b
Add bcs_next (STAILQ_NEXT).
...
svn path=/trunk/yasm/; revision=451
23 years ago
Peter Johnson
ca1fdd915b
Add bcs_first() (STAILQ_FIRST).
...
svn path=/trunk/yasm/; revision=450
23 years ago
Peter Johnson
2258d80f96
Tiny formatting fix.
...
svn path=/trunk/yasm/; revision=449
23 years ago
Peter Johnson
cc635cc237
Change return type of calc_len() family back to int from unsigned long.
...
svn path=/trunk/yasm/; revision=448
23 years ago
Peter Johnson
0276a2db37
- Use new symrec_get_label().
...
- Change optimize() function to return void.
- Pass LCLint.
svn path=/trunk/yasm/; revision=447
23 years ago
Peter Johnson
ef801289fd
Add basic optimizer to checks.
...
svn path=/trunk/yasm/; revision=446
23 years ago
Peter Johnson
a3db6e7106
Remove symrec_get_int_value(), add symrec_get_label().
...
svn path=/trunk/yasm/; revision=445
23 years ago
Peter Johnson
746f2ef74f
General code cleanup.
...
svn path=/trunk/yasm/; revision=444
23 years ago
Peter Johnson
985d4e9b59
LCLint cleanups.
...
svn path=/trunk/yasm/; revision=443
23 years ago
Michael Urman
04b27087a9
Fix one line odd error: missing initialization of step.
...
svn path=/trunk/yasm/; revision=442
23 years ago
Peter Johnson
f243b4d652
Be nice for debugging purposes and set effaddr sib=0 even when it's not valid.
...
svn path=/trunk/yasm/; revision=441
23 years ago
Peter Johnson
e23d88b957
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 ago
Peter Johnson
fea731d3eb
Remove unused variable declaration.
...
svn path=/trunk/yasm/; revision=439
23 years ago
Michael Urman
2814d5cf22
Change from linked list to vector representation for line mapping.
...
svn path=/trunk/yasm/; revision=438
23 years ago
Peter Johnson
fbf87da90a
Comment fix.
...
svn path=/trunk/yasm/; revision=437
23 years ago
Peter Johnson
e2f2ede90c
bc_calc_len() family should return unsigned long, not int.
...
svn path=/trunk/yasm/; revision=436
23 years ago
Peter Johnson
04ed33ca73
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 ago
Peter Johnson
beba182469
Allocate single static temporary bitvect for conversions (as most conversions
...
will be <=32 bits in size).
svn path=/trunk/yasm/; revision=434
23 years ago
Peter Johnson
057cfd62e9
dmalloc is enabled with DMALLOC, not DDMALLOC.
...
svn path=/trunk/yasm/; revision=433
23 years ago
Peter Johnson
d265748dcc
dmalloc is enabled with DMALLOC, not DDMALLOC.
...
svn path=/trunk/yasm/; revision=432
23 years ago
Peter Johnson
dd1654d62f
Free in_filename.
...
svn path=/trunk/yasm/; revision=431
23 years ago
Peter Johnson
ddacb97e3e
Don't shadow global (standard C) "index" (noticed by LCLint).
...
svn path=/trunk/yasm/; revision=429
23 years ago
Peter Johnson
5ad58cef6b
Correct for renamed/moved files.
...
svn path=/trunk/yasm/; revision=428
23 years ago
Peter Johnson
8857243d8a
LCLint-inspired cleanups.
...
svn path=/trunk/yasm/; revision=427
23 years ago
Peter Johnson
44a3d08815
Line number is a long (found by lclint).
...
svn path=/trunk/yasm/; revision=426
23 years ago
Peter Johnson
3f2186c1bf
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 ago
Peter Johnson
587a05e3eb
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 ago
Peter Johnson
01208b3739
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 ago
Peter Johnson
1fc6d5b86d
Fix warnings that appear with -O turned on.
...
svn path=/trunk/yasm/; revision=416
23 years ago
Peter Johnson
73e3e69375
Add tests/Makefile.inc to EXTRA_DIST.
...
svn path=/trunk/yasm/; revision=415
23 years ago
Michael Urman
8f5408d5c0
ignore automake's error on multiple lex.am invocations
...
svn path=/trunk/yasm/; revision=412
23 years ago
Peter Johnson
f5358bb32e
Change EXTRA_DIST to reflect movement of strsep.c and mergesort.c.
...
svn path=/trunk/yasm/; revision=411
23 years ago
Peter Johnson
bed4099e4f
Make sure bison gets -d flag (creates a separate header file).
...
svn path=/trunk/yasm/; revision=410
23 years ago
Peter Johnson
ac056aa1fc
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 ago
Peter Johnson
f7b2a0be4c
Get rid of --disable-check option. It no longer has any effect.
...
svn path=/trunk/yasm/; revision=408
23 years ago
Peter Johnson
5f5993826a
Get rid of --disable-check option. It no longer has any effect.
...
svn path=/trunk/yasm/; revision=407
23 years ago
Peter Johnson
3000ae9b45
Moved function replacements to top-level.
...
svn path=/trunk/yasm/; revision=406
23 years ago
Peter Johnson
bea39dbe16
Add @LIBOBJS@ to library linkages (for missing functions).
...
svn path=/trunk/yasm/; revision=405
23 years ago
Peter Johnson
ccb5c4cc61
Link with @LIBOBJS@ (for replacement functions).
...
svn path=/trunk/yasm/; revision=404
23 years ago
Peter Johnson
c40b3b6aaa
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 ago
Peter Johnson
1301c6786e
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 ago
Peter Johnson
2ca67cc237
Include intl from build directory, not source directory.
...
svn path=/trunk/yasm/; revision=401
23 years ago
Peter Johnson
2ea2166ae8
Add intl directory to INCLUDES.
...
svn path=/trunk/yasm/; revision=400
23 years ago
Peter Johnson
14da2c24d4
This was significantly out of date. Bring up-to-date with current source.
...
svn path=/trunk/yasm/; revision=399
23 years ago
Peter Johnson
90864f6793
Bring up-to-date with new generated files (due to new build structure).
...
svn path=/trunk/yasm/; revision=398
23 years ago
Peter Johnson
4d0e59aa3b
Remove stamp-h.in to fix distcheck issue when autogen-ing more than once.
...
svn path=/trunk/yasm/; revision=397
23 years ago
Peter Johnson
1d1214dcec
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 ago
Peter Johnson
ca6a1c8167
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 ago
Peter Johnson
0caf84d85f
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 ago