]>
granicus.if.org Git - yasm/log
Peter Johnson [Sat, 3 May 2003 07:29:29 +0000 (07:29 -0000)]
Remove typedefs for uint/uchar/ushort/ulong to avoid compiler warnings on Linux.
svn path=/trunk/yasm/; revision=922
Peter Johnson [Sat, 3 May 2003 06:26:15 +0000 (06:26 -0000)]
Install modules into pkglibdir rather than libdir, and rename to type_keyword
from yasm_keyword (separating same-keyword modules of different types). Update
yasm frontend module loader to handle this.
svn path=/trunk/yasm/; revision=921
Peter Johnson [Thu, 3 Apr 2003 06:14:29 +0000 (06:14 -0000)]
Fix crash on the valid NASM preprocessor syntax:
var: db 5
varlen equ $-var
%if varlen>100
...
%endif
by always acting like we're in preprocess-only mode and adjusting error
message appropriately.
This would be HARD to truly fix, as yasm only parses the input once.
svn path=/trunk/yasm/; revision=920
Michael Urman [Wed, 2 Apr 2003 03:38:50 +0000 (03:38 -0000)]
Correct typo "keword" in print_list_keyword_desc()
svn path=/trunk/yasm/; revision=919
Peter Johnson [Wed, 2 Apr 2003 03:27:45 +0000 (03:27 -0000)]
Avoid "unrecognized option `help'" error on "-[fprg] help".
svn path=/trunk/yasm/; revision=918
Michael Urman [Tue, 1 Apr 2003 20:12:34 +0000 (20:12 -0000)]
Add module listing on "-[fprg] help" so users know what's available.
Lists are still made statically in yasm-module.c, so it's not magic. :(
svn path=/trunk/yasm/; revision=917
Michael Urman [Tue, 1 Apr 2003 19:53:30 +0000 (19:53 -0000)]
Split short and long options when they don't fit in the first column alone.
Shrink first column to 22 chars to let -e message fit.
svn path=/trunk/yasm/; revision=916
Peter Johnson [Tue, 1 Apr 2003 07:26:33 +0000 (07:26 -0000)]
Disable yapp usage and default to "real" nasm preprocessor.
svn path=/trunk/yasm/; revision=910
Peter Johnson [Tue, 1 Apr 2003 07:01:46 +0000 (07:01 -0000)]
Remove yapp from Mkfiles builds.
svn path=/trunk/yasm/; revision=909
Peter Johnson [Tue, 1 Apr 2003 06:57:37 +0000 (06:57 -0000)]
Add library install directory to ltdl search directory list.
svn path=/trunk/yasm/; revision=908
Peter Johnson [Tue, 1 Apr 2003 05:24:32 +0000 (05:24 -0000)]
Rename yasm-module to yasm_module for better libtool compatibility (part of
tracking down an installation bug).
svn path=/trunk/yasm/; revision=907
Michael Urman [Tue, 1 Apr 2003 04:06:47 +0000 (04:06 -0000)]
Implemented -I and -P command line options frontend, nasm and raw preprocs.
svn path=/trunk/yasm/; revision=906
Peter Johnson [Tue, 1 Apr 2003 01:21:16 +0000 (01:21 -0000)]
Remove references to yapp source files now that it's no longer being built.
svn path=/trunk/yasm/; revision=905
Peter Johnson [Mon, 31 Mar 2003 08:22:05 +0000 (08:22 -0000)]
Start commenting for Doxygen documentation generation. Comment-only changes.
svn path=/trunk/yasm/; revision=904
Peter Johnson [Mon, 31 Mar 2003 05:36:30 +0000 (05:36 -0000)]
Flatten arch interface, changing some parse function names in the process.
No functional changes.
svn path=/trunk/yasm/; revision=903
Peter Johnson [Mon, 31 Mar 2003 05:13:29 +0000 (05:13 -0000)]
For now, remove yapp from the build. It needs rewriting and currently the
"real" nasm preprocessor serves its purpose well enough.
svn path=/trunk/yasm/; revision=902
Peter Johnson [Sun, 30 Mar 2003 23:22:50 +0000 (23:22 -0000)]
Protect yasm_bc_new_common() by YASM_INTERNAL ifdef as it uses
yasm_bytecode_type which is only defined under YASM_INTERNAL.
svn path=/trunk/yasm/; revision=901
Peter Johnson [Sun, 30 Mar 2003 21:27:25 +0000 (21:27 -0000)]
Move libyasm/file.h out of YASM_INTERNAL only inclusion (always include it).
svn path=/trunk/yasm/; revision=900
Peter Johnson [Sat, 29 Mar 2003 19:32:40 +0000 (19:32 -0000)]
Clean up formatting of options[] array (whitespace only change).
svn path=/trunk/yasm/; revision=899
Peter Johnson [Fri, 28 Mar 2003 07:06:46 +0000 (07:06 -0000)]
Re-license under 2-clause BSD license.
svn path=/trunk/yasm/; revision=898
Peter Johnson [Fri, 28 Mar 2003 07:02:56 +0000 (07:02 -0000)]
Bump copyright year range.
svn path=/trunk/yasm/; revision=897
Peter Johnson [Wed, 26 Mar 2003 07:56:50 +0000 (07:56 -0000)]
Update DJGPP and flat Makefiles and config.h with new source organization.
svn path=/trunk/yasm/; revision=890
Peter Johnson [Wed, 26 Mar 2003 07:56:50 +0000 (07:56 -0000)]
Update DJGPP and flat Makefiles and config.h with new source organization.
svn path=/trunk/yasm/; revision=889
Peter Johnson [Wed, 26 Mar 2003 07:45:39 +0000 (07:45 -0000)]
Use system include instead of local include in vc/yasm-module.c as well.
svn path=/trunk/yasm/; revision=888
Peter Johnson [Wed, 26 Mar 2003 05:07:57 +0000 (05:07 -0000)]
Use system includes instead of local includes. This allows replacement of
key headers in certain situations (config.h when compiling with Visual C++ for
one), and is also more correct in general.
svn path=/trunk/yasm/; revision=887
Peter Johnson [Tue, 25 Mar 2003 02:32:24 +0000 (02:32 -0000)]
Forgot win32_test.sh in initial win32 objfmt commit.
svn path=/trunk/yasm/; revision=886
Peter Johnson [Mon, 24 Mar 2003 06:57:21 +0000 (06:57 -0000)]
Add Win32 object format.
svn path=/trunk/yasm/; revision=885
Peter Johnson [Mon, 24 Mar 2003 06:54:17 +0000 (06:54 -0000)]
Add Win32 object format (untested, but compared against NASM output).
svn path=/trunk/yasm/; revision=884
Peter Johnson [Mon, 24 Mar 2003 06:46:22 +0000 (06:46 -0000)]
De-constify yasm_bytecode parameter to yasm_output_expr_func.
svn path=/trunk/yasm/; revision=883
Peter Johnson [Sun, 23 Mar 2003 23:01:22 +0000 (23:01 -0000)]
Use re2c -s instead of re2c -b. -b generates code that causes extremely long
gcc 3.x compile times.
svn path=/trunk/yasm/; revision=882
Peter Johnson [Wed, 19 Mar 2003 04:56:06 +0000 (04:56 -0000)]
Add some ELF32 support functions. Note: currently only supports little-endian
ELF.
svn path=/trunk/yasm/; revision=881
Peter Johnson [Tue, 18 Mar 2003 06:28:04 +0000 (06:28 -0000)]
Handle absolute sections.
svn path=/trunk/yasm/; revision=880
Peter Johnson [Tue, 18 Mar 2003 06:25:30 +0000 (06:25 -0000)]
Add all_syms parameter to objfmt->output() for debugging purposes.
svn path=/trunk/yasm/; revision=879
Peter Johnson [Tue, 18 Mar 2003 05:51:26 +0000 (05:51 -0000)]
Add directive() and yasm_objfmt * parameter to initialize().
svn path=/trunk/yasm/; revision=878
Peter Johnson [Tue, 18 Mar 2003 05:00:54 +0000 (05:00 -0000)]
Remove -Wtraditional. It's way too noisy in GCC 3.x.
svn path=/trunk/yasm/; revision=877
Peter Johnson [Tue, 18 Mar 2003 04:42:49 +0000 (04:42 -0000)]
Take out the CXX and GCJ tests; we don't need them, and they break builds on
some OS'es.
svn path=/trunk/yasm/; revision=876
Peter Johnson [Mon, 17 Mar 2003 02:06:49 +0000 (02:06 -0000)]
Add nasm and yapp to the list of allowed preprocessors.
svn path=/trunk/yasm/; revision=875
Peter Johnson [Mon, 17 Mar 2003 00:42:20 +0000 (00:42 -0000)]
Fix header/type reference in comment.
svn path=/trunk/yasm/; revision=874
Peter Johnson [Mon, 17 Mar 2003 00:03:02 +0000 (00:03 -0000)]
Enable more warnings and perform code cleanups to avoid them.
When -Werror is used, disable -Wconversion, because flex-generated code causes
warnings when calling fwrite() and fread().
svn path=/trunk/yasm/; revision=873
Peter Johnson [Sun, 16 Mar 2003 23:53:31 +0000 (23:53 -0000)]
yasm_vp_new() should take a char *, not a const char *.
svn path=/trunk/yasm/; revision=872
Peter Johnson [Sun, 16 Mar 2003 23:52:54 +0000 (23:52 -0000)]
Change yasm__conv_unprint to take an int parameter instead of a char (safer).
svn path=/trunk/yasm/; revision=871
Peter Johnson [Sun, 16 Mar 2003 23:52:23 +0000 (23:52 -0000)]
Match signedness of loop counters with loop bounds.
svn path=/trunk/yasm/; revision=870
Peter Johnson [Sun, 16 Mar 2003 23:50:59 +0000 (23:50 -0000)]
Avoid warning by splitting LTDL_SET_PRELOADED_SYMBOLS() into its components.
svn path=/trunk/yasm/; revision=869
Peter Johnson [Sun, 16 Mar 2003 23:47:32 +0000 (23:47 -0000)]
Remove unused yyaccept variables (eliminates warnings from generated code).
svn path=/trunk/yasm/; revision=868
Peter Johnson [Sun, 16 Mar 2003 01:04:43 +0000 (01:04 -0000)]
Include new Visual Studio build files in distribution.
svn path=/trunk/yasm/; revision=867
Peter Johnson [Sun, 16 Mar 2003 00:37:35 +0000 (00:37 -0000)]
Remove old Visual C++ makefile; new build structure is in vc subdirectory.
svn path=/trunk/yasm/; revision=866
Peter Johnson [Sun, 16 Mar 2003 00:36:13 +0000 (00:36 -0000)]
Visual Studio 6.0 build files (including generated .mak files) reflecting new
source tree structure.
svn path=/trunk/yasm/; revision=865
Peter Johnson [Sun, 16 Mar 2003 00:36:13 +0000 (00:36 -0000)]
Visual Studio 6.0 build files (including generated .mak files) reflecting new
source tree structure.
svn path=/trunk/yasm/; revision=864
Peter Johnson [Sun, 16 Mar 2003 00:19:19 +0000 (00:19 -0000)]
Don't try to use ltdl if compiling under Visual C++ (WIN32 defined).
svn path=/trunk/yasm/; revision=863
Peter Johnson [Sun, 16 Mar 2003 00:17:08 +0000 (00:17 -0000)]
Don't redefine NDEBUG if it's already defined.
svn path=/trunk/yasm/; revision=862
Peter Johnson [Sun, 16 Mar 2003 00:02:15 +0000 (00:02 -0000)]
yasm_vp_new() should return its newly created structure!
svn path=/trunk/yasm/; revision=861
Peter Johnson [Sat, 15 Mar 2003 23:19:33 +0000 (23:19 -0000)]
Update to GNU Libtool
20030216 (from Cygwin) to get dynamic linking working
under Cygwin.
svn path=/trunk/yasm/; revision=860
cvs2svn [Sat, 15 Mar 2003 23:08:41 +0000 (23:08 -0000)]
This commit was generated by cvs2svn to compensate for changes in r857,
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/yasm/; revision=858
Peter Johnson [Sat, 15 Mar 2003 22:04:29 +0000 (22:04 -0000)]
Initial revision
svn path=/trunk/yasm/; revision=853
Peter Johnson [Sat, 15 Mar 2003 21:59:55 +0000 (21:59 -0000)]
Use yasm__mergesort() in expr.c and use correct xmalloc/xfree in mergesort.c.
svn path=/trunk/yasm/; revision=852
Peter Johnson [Sat, 15 Mar 2003 07:17:42 +0000 (07:17 -0000)]
stamp-h.in is now in libyasm/.
svn path=/trunk/yasm/; revision=851
Peter Johnson [Sat, 15 Mar 2003 07:15:05 +0000 (07:15 -0000)]
Safe to use -no-undefined on all the modules.
svn path=/trunk/yasm/; revision=850
Peter Johnson [Sat, 15 Mar 2003 05:07:49 +0000 (05:07 -0000)]
Make libyasm a "real" library, including installing header files.
Start separating modules and frontends from libyasm internals.
svn path=/trunk/yasm/; revision=849
Peter Johnson [Fri, 14 Mar 2003 04:40:04 +0000 (04:40 -0000)]
Minor cleanups (no functional changes) after src split.
svn path=/trunk/yasm/; revision=848
Peter Johnson [Thu, 13 Mar 2003 06:55:46 +0000 (06:55 -0000)]
Split src into frontends, libyasm, and modules (forced commit after repo-copy).
svn path=/trunk/yasm/; revision=847
Peter Johnson [Thu, 13 Mar 2003 04:03:59 +0000 (04:03 -0000)]
Replace --enable-dev functionality with --enable-maintainer-mode usage, other
fixes and whitespace cleanup. Renamed ANSI_CFLAGS to MORE_CFLAGS. Enable
"morewarn" along with --enable-maintainer-mode if GCC is present by default.
svn path=/trunk/yasm/; revision=846
Peter Johnson [Thu, 13 Mar 2003 03:08:45 +0000 (03:08 -0000)]
Use AC_HELP_STRING() for custom argument help strings.
svn path=/trunk/yasm/; revision=845
Peter Johnson [Wed, 12 Mar 2003 07:21:08 +0000 (07:21 -0000)]
Use N_(), not _() for gettextized error messages.
svn path=/trunk/yasm/; revision=844
Peter Johnson [Wed, 12 Mar 2003 06:08:43 +0000 (06:08 -0000)]
The Great Renaming (prefixing with yasm_), Part 2: allocation functions.
svn path=/trunk/yasm/; revision=843
Peter Johnson [Mon, 10 Mar 2003 08:55:41 +0000 (08:55 -0000)]
Unmodularize errwarn, while making key errwarn functions replaceable.
Also removes dependency of libyasm on libintl (gettext), so it can be linked
-no-undefined now!
svn path=/trunk/yasm/; revision=842
Peter Johnson [Sat, 8 Mar 2003 20:35:36 +0000 (20:35 -0000)]
The Great Renaming, Part 2: prefix strcasecmp and strncasecmp with yasm__.
svn path=/trunk/yasm/; revision=841
Peter Johnson [Sat, 8 Mar 2003 19:55:56 +0000 (19:55 -0000)]
Move yasm_std_errwarn and yasm_std_linemgr into libyasm.
svn path=/trunk/yasm/; revision=840
Peter Johnson [Sat, 8 Mar 2003 19:29:23 +0000 (19:29 -0000)]
Refactor list_objfmts() and list_parsers() into module.c.
svn path=/trunk/yasm/; revision=839
Peter Johnson [Sat, 8 Mar 2003 19:15:40 +0000 (19:15 -0000)]
The Great Renaming (prefixing with yasm_), Part 1.
svn path=/trunk/yasm/; revision=838
Peter Johnson [Sat, 8 Mar 2003 07:33:06 +0000 (07:33 -0000)]
bc_new_objfmt_data() was creating a bytecode with the incorrect type.
svn path=/trunk/yasm/; revision=837
Peter Johnson [Sat, 22 Feb 2003 04:29:25 +0000 (04:29 -0000)]
Fix file comment.
svn path=/trunk/yasm/; revision=836
Peter Johnson [Fri, 21 Feb 2003 03:50:29 +0000 (03:50 -0000)]
Relicense under 2-clause BSD license.
svn path=/trunk/yasm/; revision=835
Peter Johnson [Thu, 13 Feb 2003 09:15:19 +0000 (09:15 -0000)]
Allow both 'e' and 'E' for exponent designation in floating point values.
svn path=/trunk/yasm/; revision=834
Peter Johnson [Thu, 13 Feb 2003 07:11:56 +0000 (07:11 -0000)]
Add __int64 check.
svn path=/trunk/yasm/; revision=833
Peter Johnson [Thu, 13 Feb 2003 06:56:34 +0000 (06:56 -0000)]
Add long long detection to unsigned long long detection.
svn path=/trunk/yasm/; revision=832
Peter Johnson [Wed, 12 Feb 2003 07:42:48 +0000 (07:42 -0000)]
Clean up all but one -ansi -pedantic -Wall warning. Only affected one
externally-visible function.
svn path=/trunk/yasm/; revision=831
Peter Johnson [Sun, 9 Feb 2003 19:36:34 +0000 (19:36 -0000)]
Initial revision
svn path=/trunk/yasm/; revision=827
Peter Johnson [Sun, 9 Feb 2003 19:29:23 +0000 (19:29 -0000)]
Initial revision
svn path=/trunk/yasm/; revision=823
Peter Johnson [Mon, 20 Jan 2003 08:51:23 +0000 (08:51 -0000)]
Re-license more files under the 3-clause BSD license (mostly header files).
svn path=/trunk/yasm/; revision=822
Peter Johnson [Mon, 20 Jan 2003 03:52:14 +0000 (03:52 -0000)]
Add DO_FREE #defined constant to allow disabling of deallocation for speed.
svn path=/trunk/yasm/; revision=821
Peter Johnson [Mon, 20 Jan 2003 03:49:19 +0000 (03:49 -0000)]
Add option for parser to associate input text (after preprocessing) with each
line in the linemgr.
svn path=/trunk/yasm/; revision=820
Peter Johnson [Thu, 16 Jan 2003 08:51:11 +0000 (08:51 -0000)]
Check count returned by nasm_parser_input() against 0 instead of just a short
count to detect EOF.
svn path=/trunk/yasm/; revision=819
Peter Johnson [Mon, 9 Dec 2002 00:38:33 +0000 (00:38 -0000)]
fix_directive_symrec() needs to return a value for all cases.
svn path=/trunk/yasm/; revision=818
Peter Johnson [Sun, 24 Nov 2002 01:43:54 +0000 (01:43 -0000)]
Fixup directive symrecs to point at global instead of local symbols if the
direxpr is not just an ID.
svn path=/trunk/yasm/; revision=817
Peter Johnson [Thu, 21 Nov 2002 06:25:08 +0000 (06:25 -0000)]
Update addresses.
svn path=/trunk/yasm/; revision=816
Peter Johnson [Thu, 21 Nov 2002 05:32:27 +0000 (05:32 -0000)]
Fix dbgfmt loading (should call load_dbgfmt not load_objfmt).
svn path=/trunk/yasm/; revision=815
Peter Johnson [Thu, 21 Nov 2002 05:29:57 +0000 (05:29 -0000)]
Allow "Athlon64" as an alias for Sledgehammer.
svn path=/trunk/yasm/; revision=814
Peter Johnson [Thu, 21 Nov 2002 05:28:06 +0000 (05:28 -0000)]
Add test for a large absolute section. By: H. Peter Anvin <hpa@zytor.com>.
svn path=/trunk/yasm/; revision=813
Peter Johnson [Tue, 19 Nov 2002 05:29:08 +0000 (05:29 -0000)]
Add x86-64 effective address support, as well as a couple of tests for it.
svn path=/trunk/yasm/; revision=812
Peter Johnson [Sun, 17 Nov 2002 08:34:15 +0000 (08:34 -0000)]
Put test suite file results into a separate "results" directory.
svn path=/trunk/yasm/; revision=811
Peter Johnson [Sun, 17 Nov 2002 07:46:25 +0000 (07:46 -0000)]
Treat ',' as a directive valparam separator.
svn path=/trunk/yasm/; revision=810
Peter Johnson [Fri, 15 Nov 2002 08:04:41 +0000 (08:04 -0000)]
Add basic x86-64 support (memory references are not properly handled yet).
It's enabled via the [bits 64] directive.
Add some tests for x86-64 as well as 32/16 bit modes.
Enable some previously committed tests in Makefile.inc.
svn path=/trunk/yasm/; revision=809
Peter Johnson [Sat, 9 Nov 2002 10:40:10 +0000 (10:40 -0000)]
The AMD Athlon is also known as the K7.
svn path=/trunk/yasm/; revision=808
Peter Johnson [Sat, 9 Nov 2002 10:38:56 +0000 (10:38 -0000)]
Add official name for AMD's "sledgehammer" CPU: "Opteron".
svn path=/trunk/yasm/; revision=807
Peter Johnson [Fri, 8 Nov 2002 08:50:10 +0000 (08:50 -0000)]
Fix comments.
svn path=/trunk/yasm/; revision=806
Peter Johnson [Fri, 8 Nov 2002 08:48:30 +0000 (08:48 -0000)]
Fix typo/bug in handling of OPA_AdSizeR (using wrong insn_info *).
svn path=/trunk/yasm/; revision=805
Peter Johnson [Thu, 7 Nov 2002 19:50:06 +0000 (19:50 -0000)]
Go back to using a more-centralized function for front-end error reporting.
Also fix a crash in one of the error conditions (inappropriate cleanup call).
svn path=/trunk/yasm/; revision=804
Peter Johnson [Mon, 4 Nov 2002 09:10:57 +0000 (09:10 -0000)]
Duplicate filename to ensure no double-frees occur.
svn path=/trunk/yasm/; revision=803
Peter Johnson [Mon, 4 Nov 2002 09:10:04 +0000 (09:10 -0000)]
Check for null pointers before freeing to avoid dmalloc errors.
svn path=/trunk/yasm/; revision=802
Peter Johnson [Mon, 4 Nov 2002 08:47:57 +0000 (08:47 -0000)]
Fix distcheck build issues.
svn path=/trunk/yasm/; revision=801