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
Peter Johnson
855891dac2
Fix build problem on Linux with toascii() define.
...
svn path=/trunk/yasm/; revision=393
23 years ago
Peter Johnson
bbd5666569
Remove quoting from AC_CONFIG_AUX_DIR and AM_CONFIG_HEADER.
...
svn path=/trunk/yasm/; revision=392
23 years ago
Peter Johnson
4ae835e9b1
Remove quoting from AC_CONFIG_AUX_DIR and AM_CONFIG_HEADER.
...
svn path=/trunk/yasm/; revision=391
23 years ago
Peter Johnson
cdbcd69b22
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 ago
Peter Johnson
a643359f04
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 ago
Peter Johnson
2727869bd8
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 ago
Peter Johnson
0f852333df
LCLint-related comment fixes.
...
svn path=/trunk/yasm/; revision=387
23 years ago
Peter Johnson
ae85d1edb1
Add support for incbin pseudo-instruction.
...
svn path=/trunk/yasm/; revision=386
23 years ago
Peter Johnson
b3cb8c0292
Move assert.h include to util.h
...
In util.h, define NDEBUG if not running lint.
svn path=/trunk/yasm/; revision=385
23 years ago
Peter Johnson
e8d7d5cad9
Add opt_flags (space for use by the optimizer).
...
svn path=/trunk/yasm/; revision=384
23 years ago
Peter Johnson
69c42d7aaa
Plug memory leak in floatnum_new().
...
svn path=/trunk/yasm/; revision=383
23 years ago
Peter Johnson
f36a664a49
strcmp() returns 0 if the strings are equal.
...
svn path=/trunk/yasm/; revision=382
23 years ago
Peter Johnson
6bbcad2e6c
Make extension-replacement a utility function in file.c (as it will need to
...
be performed for the list file, etc, as well as the object file).
svn path=/trunk/yasm/; revision=381
23 years ago
Peter Johnson
c42294ab0a
Fix a few LCLint errors.
...
svn path=/trunk/yasm/; revision=380
23 years ago
Peter Johnson
64f108c89c
Replace extension on output format rather than just always appending.
...
svn path=/trunk/yasm/; revision=379
23 years ago
Peter Johnson
8043dbfc16
Generate smaller code where possible (eg, when op_len=1, it's not necessary to
...
set op[1] and op[2]).
svn path=/trunk/yasm/; revision=378
23 years ago
Peter Johnson
758edc89e7
Allow overrides (a32/a16/rep/etc) to appear on their own line. The way this
...
is done in the grammer causes 1 shift/reduce and 1 reduce/reduce conflict, but
yacc's default resolution gives correct results, and as the generated grammer
is smaller this way than specifically handling each prefix, we do it this way.
svn path=/trunk/yasm/; revision=377
23 years ago
Peter Johnson
7b4e6c09dc
Add support for NASM's %line.
...
svn path=/trunk/yasm/; revision=376
23 years ago
Peter Johnson
fda44f7670
Use stdout as the default output file if stdin is the input.
...
svn path=/trunk/yasm/; revision=375
23 years ago
Peter Johnson
83b996e8f4
Remove definition of line_number; it was overriding the global variable.
...
svn path=/trunk/yasm/; revision=374
23 years ago
Peter Johnson
a64ee74f8f
Fix typo in HAVE_STRCMPI strncasecmp() #define.
...
svn path=/trunk/yasm/; revision=373
23 years ago
Peter Johnson
3b496cdde7
Do intl more correctly. nointl/libintl.h is unnecessary; it can be detected
...
in util.h by the ENABLE_NLS define. Fix Mkfiles to reflect. Actually enable
if available in main().
svn path=/trunk/yasm/; revision=372
23 years ago
Peter Johnson
ff7a4c54fa
Optimize if dev is not enabled. Don't use DEVFLAGS for non-gcc compiler.
...
svn path=/trunk/yasm/; revision=371
23 years ago
Peter Johnson
4bcb83da56
(Mostly) Clean up floatnum internal allocations.
...
svn path=/trunk/yasm/; revision=370
23 years ago
Peter Johnson
a9a74064b4
Fix so "0h" works.
...
svn path=/trunk/yasm/; revision=369
23 years ago
Peter Johnson
cf84bbf503
Change REG_SOMEREG -> reg_somereg and add rules that allow BYTE/WORD/DWORD
...
prefixes on such registers. Also fix bugs related to existing rules which
allowed those prefixes.
svn path=/trunk/yasm/; revision=368
23 years ago
Peter Johnson
2aec833b07
Don't free EA when simplifying shift_op case. Not only is this code completely
...
wrong (the ModRM byte definitely must be kept), but it had a memory leak too
(it just freed the ea without calling expr_delete())!
svn path=/trunk/yasm/; revision=367
23 years ago