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
Peter Johnson
ff1fba3feb
Fix bug with ONE generation (overwrote both [0] and [1] indexes with opcode
...
for ONE version).
svn path=/trunk/yasm/; revision=366
23 years ago
Peter Johnson
4af9db689c
Change dbg optimizer to basic.
...
svn path=/trunk/yasm/; revision=365
23 years ago
Peter Johnson
a7ce9bf2d1
Delete dbg optimizer (won't be useful) and add "basic" (equiv. to NASM 2-pass)
...
optimizer.
svn path=/trunk/yasm/; revision=364
23 years ago
Peter Johnson
ce4a5fe02a
Switch from using ternary tree to Hash Array Mapped Trie (HAMT), which has
...
*much* less overhead.
XXX: current implementation of HAMT is *not* portable due to pointer alignment
restrictions (it uses the LSB of a pointer to store a flag). Need to write a
portable (if not so space-efficient) equivalent.
svn path=/trunk/yasm/; revision=363
23 years ago
Peter Johnson
41d256accc
General tests of directives.
...
svn path=/trunk/yasm/; revision=362
23 years ago
Peter Johnson
77bf842ffc
Test the imm and imm8x forms of add.
...
svn path=/trunk/yasm/; revision=361
23 years ago
Peter Johnson
f371273c90
Add two larger NASM-preprocessed files from UIUC ECE 291's PModeLib as more
...
typical assembly files.
svn path=/trunk/yasm/; revision=360
23 years ago
Peter Johnson
afcdf3ecd9
Test global/common sharing in addition to extern.
...
svn path=/trunk/yasm/; revision=359
23 years ago
Peter Johnson
9dc4e6eccc
How does NASM's bin format handle sections?
...
svn path=/trunk/yasm/; revision=358
23 years ago