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
f7b2a0be4c
Get rid of --disable-check option. It no longer has any effect.
...
svn path=/trunk/yasm/; revision=408
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
bbd5666569
Remove quoting from AC_CONFIG_AUX_DIR and AM_CONFIG_HEADER.
...
svn path=/trunk/yasm/; revision=392
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
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
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
c9d92847b6
Start framework for separating architecture-dependent functions and data
...
structures from the rest of the assembler. We're not trying to write GAS
here (yet :), but doing this will make large parts of the codebase a lot
clearer.
svn path=/trunk/yasm/; revision=314
23 years ago
Peter Johnson
df933810ea
Previous commit broke ANSI C header checking (BAD). Fixed, by changing how
...
optional things are checked.
svn path=/trunk/yasm/; revision=305
23 years ago
Peter Johnson
adf5a95e89
Add option for malloc debugging using dmalloc library ( http://dmalloc.com/ ).
...
Remove unnecessary stdlib includes (because we use xmalloc instead of malloc).
svn path=/trunk/yasm/; revision=297
23 years ago
Peter Johnson
0a98a74163
Add mergesort() replacement from BSD sources.
...
svn path=/trunk/yasm/; revision=292
23 years ago
Peter Johnson
193392dcb6
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 ago
Peter Johnson
b13f4e4f87
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 ago
Peter Johnson
98e25fc1f6
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 ago
Peter Johnson
d1d847d5bd
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 ago
Peter Johnson
2f6a19295d
Remove redundant check for features.h, and cache GNU C Library test.
...
svn path=/trunk/yasm/; revision=219
23 years ago
Peter Johnson
df62b73779
Add check and BSD replacement for strsep(3).
...
svn path=/trunk/yasm/; revision=218
23 years ago
Peter Johnson
a002baa1df
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 ago
Peter Johnson
91f41e241b
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 ago
Peter Johnson
5bfb25663d
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 ago
Peter Johnson
3bd6541c5f
Allow make check and tests module to be disabled, as it's not portable yet.
...
svn path=/trunk/yasm/; revision=200
23 years ago
Peter Johnson
344727f824
Don't always check for Perl.
...
svn path=/trunk/yasm/; revision=191
23 years ago
Peter Johnson
9397744af8
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 ago
Peter Johnson
ef19b09dc2
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 ago
Peter Johnson
50bd17cd18
Reorganize docs into programmer and user parts. Repo-copy contrib/queue to
...
programmer/queue.
svn path=/trunk/yasm/; revision=182
23 years ago
Peter Johnson
c72e48925e
Use automake for queue docs, otherwise distcheck complains.
...
svn path=/trunk/yasm/; revision=178
23 years ago
Peter Johnson
863ac29d02
Add doc to automake and configure.
...
Only build queue docs if dev is enabled (--enable-dev).
svn path=/trunk/yasm/; revision=176
23 years ago
Peter Johnson
b2890b8f9d
$Id$ -> $IdPath$.
...
svn path=/trunk/yasm/; revision=174
23 years ago
Peter Johnson
23e3786f58
Reorder generated Makefile list a little (to be consistent with
...
src/Makefile.am).
svn path=/trunk/yasm/; revision=172
24 years ago
Peter Johnson
1f499ab545
Expand out list of generated Makefiles and add RCS id.
...
svn path=/trunk/yasm/; revision=171
24 years ago
Peter Johnson
d758a063b2
Add barebones optimizer module framework.
...
svn path=/trunk/yasm/; revision=169
24 years ago
Peter Johnson
c09f4addc8
Check for case-insensitive string comparisons. Use strcasecmp and strncasecmp
...
in the source: if stricmp or strcmpi is available, they're mapped to
strcasecmp.
svn path=/trunk/yasm/; revision=159
24 years ago
Peter Johnson
fa6e459ce5
Use abort() instead of exit() if it's available for InternalError() and
...
Fatal().
svn path=/trunk/yasm/; revision=158
24 years ago
Peter Johnson
074b748ece
Rename outfmt to objfmt and related files and directories. "objfmt" is more
...
descriptive of what the module is actually used for ("output" is rather
generic).
svn path=/trunk/yasm/; revision=155
24 years ago
Michael Urman
2f630084b3
Updates to pass make distcheck.
...
Added linux as a bogus sysqueue.
svn path=/trunk/yasm/; revision=154
24 years ago
Peter Johnson
45df22d110
Convert to using gettext instead of the ugly errwarn constant strings.
...
NOTE: gettextize now needs to be run before building.
svn path=/trunk/yasm/; revision=153
24 years ago
Peter Johnson
7faa6f4fc6
Add checks for <limits.h> and <sys/cdefs.h>.
...
svn path=/trunk/yasm/; revision=148
24 years ago
Peter Johnson
b619f63541
Add check for <sys/queue.h> and specific checks for bogus implementations.
...
Idea taken from OpenSSH-portable.
svn path=/trunk/yasm/; revision=142
24 years ago
Peter Johnson
fa49ca5544
Add new subdirectories for new src/ directory structures.
...
svn path=/trunk/yasm/; revision=134
24 years ago
Peter Johnson
06cce4e4cd
Repo-copied include files to src to make automake/autoconf build structure
...
work properly. Changed Makefile.am, src/Makefile.am, and configure.in to
match directory changes.
svn path=/trunk/yasm/; revision=120
24 years ago
Peter Johnson
0804065bd4
Add --enable-dev option to force CFLAGS to "-ansi -pedantic -Wall -g".
...
svn path=/trunk/yasm/; revision=78
24 years ago
Peter Johnson
d6c52c0c74
Move extra autoconf/automake files to config/ directory.
...
svn path=/trunk/yasm/; revision=77
24 years ago
Peter Johnson
010ef7fe6e
Force standard C compilation.
...
svn path=/trunk/yasm/; revision=76
24 years ago
Peter Johnson
93c75c63a5
Add additional checks: const, size_t, vprintf() family, strtoul, and toascii.
...
svn path=/trunk/yasm/; revision=69
24 years ago
Peter Johnson
6b93227482
Use autoconf to determine when to include our implementation of strdup, so
...
remove util.c and create strdup.c. Make util.h, strdup.c, and several source
files use config.h defines.
svn path=/trunk/yasm/; revision=61
24 years ago
Michael Urman
3a6d83db51
Initial checkin of automake/autoconf files.
...
Proper split directory builds may fail on the lex/yacc generated files.
svn path=/trunk/yasm/; revision=56
24 years ago