Peter Johnson
c0c5940cb1
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
22 years ago
Peter Johnson
107007d9bd
Use AC_HELP_STRING() for custom argument help strings.
...
svn path=/trunk/yasm/; revision=845
22 years ago
Peter Johnson
1fc7aa1f9e
Use N_(), not _() for gettextized error messages.
...
svn path=/trunk/yasm/; revision=844
22 years ago
Peter Johnson
84ee559be7
The Great Renaming (prefixing with yasm_), Part 2: allocation functions.
...
svn path=/trunk/yasm/; revision=843
22 years ago
Peter Johnson
d9f68d6d4b
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
22 years ago
Peter Johnson
9d0fa1135c
The Great Renaming, Part 2: prefix strcasecmp and strncasecmp with yasm__.
...
svn path=/trunk/yasm/; revision=841
22 years ago
Peter Johnson
854ea00a2b
Move yasm_std_errwarn and yasm_std_linemgr into libyasm.
...
svn path=/trunk/yasm/; revision=840
22 years ago
Peter Johnson
288401feff
Refactor list_objfmts() and list_parsers() into module.c.
...
svn path=/trunk/yasm/; revision=839
22 years ago
Peter Johnson
a2e07e1e10
The Great Renaming (prefixing with yasm_), Part 1.
...
svn path=/trunk/yasm/; revision=838
22 years ago
Peter Johnson
d54377029e
bc_new_objfmt_data() was creating a bytecode with the incorrect type.
...
svn path=/trunk/yasm/; revision=837
22 years ago
Peter Johnson
bd29c71c2a
Fix file comment.
...
svn path=/trunk/yasm/; revision=836
22 years ago
Peter Johnson
b1faf6329c
Relicense under 2-clause BSD license.
...
svn path=/trunk/yasm/; revision=835
22 years ago
Peter Johnson
444df0a9f6
Allow both 'e' and 'E' for exponent designation in floating point values.
...
svn path=/trunk/yasm/; revision=834
22 years ago
Peter Johnson
9431bc6437
Add __int64 check.
...
svn path=/trunk/yasm/; revision=833
22 years ago
Peter Johnson
f4920c410a
Add long long detection to unsigned long long detection.
...
svn path=/trunk/yasm/; revision=832
22 years ago
Peter Johnson
e13c6ac3fd
Clean up all but one -ansi -pedantic -Wall warning. Only affected one
...
externally-visible function.
svn path=/trunk/yasm/; revision=831
22 years ago
Peter Johnson
a34ae664d3
Initial revision
...
svn path=/trunk/yasm/; revision=827
22 years ago
Peter Johnson
35c22e119a
Initial revision
...
svn path=/trunk/yasm/; revision=823
22 years ago
Peter Johnson
49e278893c
Re-license more files under the 3-clause BSD license (mostly header files).
...
svn path=/trunk/yasm/; revision=822
22 years ago
Peter Johnson
db77651458
Add DO_FREE #defined constant to allow disabling of deallocation for speed.
...
svn path=/trunk/yasm/; revision=821
22 years ago
Peter Johnson
d510e21546
Add option for parser to associate input text (after preprocessing) with each
...
line in the linemgr.
svn path=/trunk/yasm/; revision=820
22 years ago
Peter Johnson
e9f81d0715
Check count returned by nasm_parser_input() against 0 instead of just a short
...
count to detect EOF.
svn path=/trunk/yasm/; revision=819
22 years ago
Peter Johnson
af90bb224b
fix_directive_symrec() needs to return a value for all cases.
...
svn path=/trunk/yasm/; revision=818
22 years ago
Peter Johnson
1d57da41a2
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
22 years ago
Peter Johnson
6cca62a6ac
Update addresses.
...
svn path=/trunk/yasm/; revision=816
22 years ago
Peter Johnson
4ff55cd473
Fix dbgfmt loading (should call load_dbgfmt not load_objfmt).
...
svn path=/trunk/yasm/; revision=815
22 years ago
Peter Johnson
ca47740b40
Allow "Athlon64" as an alias for Sledgehammer.
...
svn path=/trunk/yasm/; revision=814
22 years ago
Peter Johnson
c14fc49bc0
Add test for a large absolute section. By: H. Peter Anvin <hpa@zytor.com>.
...
svn path=/trunk/yasm/; revision=813
22 years ago
Peter Johnson
af56335ec8
Add x86-64 effective address support, as well as a couple of tests for it.
...
svn path=/trunk/yasm/; revision=812
22 years ago
Peter Johnson
1e715b81f8
Put test suite file results into a separate "results" directory.
...
svn path=/trunk/yasm/; revision=811
22 years ago
Peter Johnson
2eb7929f86
Treat ',' as a directive valparam separator.
...
svn path=/trunk/yasm/; revision=810
22 years ago
Peter Johnson
fdb4997a00
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
22 years ago
Peter Johnson
62e4ea64da
The AMD Athlon is also known as the K7.
...
svn path=/trunk/yasm/; revision=808
22 years ago
Peter Johnson
18fdce971d
Add official name for AMD's "sledgehammer" CPU: "Opteron".
...
svn path=/trunk/yasm/; revision=807
22 years ago
Peter Johnson
afd44a54ee
Fix comments.
...
svn path=/trunk/yasm/; revision=806
22 years ago
Peter Johnson
0975ab9dc1
Fix typo/bug in handling of OPA_AdSizeR (using wrong insn_info *).
...
svn path=/trunk/yasm/; revision=805
22 years ago
Peter Johnson
ee94cd4700
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
22 years ago
Peter Johnson
5c6bf203eb
Duplicate filename to ensure no double-frees occur.
...
svn path=/trunk/yasm/; revision=803
22 years ago
Peter Johnson
1dc6132b00
Check for null pointers before freeing to avoid dmalloc errors.
...
svn path=/trunk/yasm/; revision=802
22 years ago
Peter Johnson
c46032973e
Fix distcheck build issues.
...
svn path=/trunk/yasm/; revision=801
22 years ago
Peter Johnson
49623d5589
Add the "real" NASM preprocessor, and default to it. As NASM is LGPL, no
...
licensing issues with this. All the compiler warnings have been fixed, and
most namespace issues resolved. However, the integration isn't perfect, and
there are probably memory leaks. Note that right now the real NASM preproc
and "compatible" NASM parser share a module. The parser should probably be
renamed to avoid extra loading and code source confusion.
svn path=/trunk/yasm/; revision=800
22 years ago
Peter Johnson
f9bc51bfd0
Make sure we use the yapp preprocessor when running yapp tests.
...
svn path=/trunk/yasm/; revision=799
22 years ago
Peter Johnson
86751029a3
Add va_list versions of error and warning errwarn functions.
...
Required adding stdarg to util.h.
svn path=/trunk/yasm/; revision=798
22 years ago
Peter Johnson
dd915a3eef
Initial revision
...
svn path=/trunk/yasm/; revision=794
22 years ago
Peter Johnson
da2a49113a
x86_bc_resolve_jmprel(): Plug memory leak.
...
svn path=/trunk/yasm/; revision=793
22 years ago
Peter Johnson
9f6cb6783f
Modularize errwarn. gettext()-ize in errwarn, not in every module, eliminating
...
libintl dependency in modules.
Also standardize initialize() and cleanup() functions.
Move replace_extension() from file.c to main.c.
Clean up some extern variable declarations in various places (particularly
nasm-compatible parser).
svn path=/trunk/yasm/; revision=792
22 years ago
Peter Johnson
6fd648a146
Add coff-objfmt.c.
...
svn path=/trunk/yasm/; revision=791
22 years ago
Peter Johnson
f729b9e5d5
initialize() comment fix.
...
svn path=/trunk/yasm/; revision=790
22 years ago
Peter Johnson
b891463826
Parameters to input changed from unsigned long to linemgr *.
...
svn path=/trunk/yasm/; revision=789
22 years ago
Peter Johnson
dd8fa20efa
Add missing gettext call for one of the warning messages.
...
svn path=/trunk/yasm/; revision=788
22 years ago