Peter Johnson
46c4c4a0bb
Bump version numbers for release.
...
svn path=/tags/yasm-1.0.0/; revision=2320
2010-04-09 05:55:14 +00:00
Peter Johnson
21889fc92d
Merge [2317] from trunk.
...
svn path=/branches/yasm-1.0/; revision=2318
2010-04-08 06:13:03 +00:00
Peter Johnson
08829eb4e4
Bump branch version to 1.0.x, with an internal version of 1.0.0.
...
svn path=/branches/yasm-1.0/; revision=2316
2010-04-08 06:08:48 +00:00
Peter Johnson
34379be2ad
COPYING: Update credits a bit.
...
svn path=/trunk/yasm/; revision=2314
2010-04-08 05:57:28 +00:00
Peter Johnson
e2e877c615
Update copyright dates.
...
svn path=/trunk/yasm/; revision=2313
2010-04-08 05:56:33 +00:00
Peter Johnson
bc3a8286ea
NASM preproc: Add basic support for %{x:y} parameter list expansion.
...
Contributed by: Mathieu Monnier
nasm64developer has a more advanced 3-parameter version that will take
some time to integrate, so for now just provide the simpler version.
svn path=/trunk/yasm/; revision=2312
2010-04-08 03:46:43 +00:00
Peter Johnson
2de9ac8ede
NASM preprocessor: Add %scope and %endscope.
...
Contributed by: Mathieu Monnier
svn path=/trunk/yasm/; revision=2311
2010-04-08 03:32:04 +00:00
Peter Johnson
323153d55a
Instead of initializing unknown sections en-masse during objfmt_output(),
...
add new objfmt interface function init_new_section() to initialize as we
go.
This fixes several issues, primarily with debug formats that create sections.
Reported by: Brian Gladman
svn path=/trunk/yasm/; revision=2310
2010-03-28 19:28:54 +00:00
Peter Johnson
e56ece9a7d
vsyasm: Allow override of object, list, and map file extensions.
...
svn path=/trunk/yasm/; revision=2309
2010-03-19 23:00:36 +00:00
Peter Johnson
e55891a302
vsyasm: Fix map extension.
...
svn path=/trunk/yasm/; revision=2308
2010-03-19 22:46:16 +00:00
Brian Gladman
293d7392b4
Improve VSYASM integration into Visual Studio 2010
...
svn path=/trunk/yasm/; revision=2307
2010-03-10 11:33:55 +00:00
Peter Johnson
d7c5571bcb
vsyasm: if -E is used, print command line as first line in error file.
...
Requested by: Brian Gladman
svn path=/trunk/yasm/; revision=2300
2010-03-04 05:13:48 +00:00
Peter Johnson
47b7b364c7
Makefile.am: Update for [2297] changes.
...
svn path=/trunk/yasm/; revision=2299
2010-03-04 05:08:00 +00:00
Brian Gladman
7b10030105
Adjust YASM integration into Visual Studio 2010 slightly
...
svn path=/trunk/yasm/; revision=2298
2010-03-03 10:31:37 +00:00
Brian Gladman
d7ca41bfa8
Add VSYASM integration files for Visual Studio 2010 (and remove incorrect YASM ones)
...
svn path=/trunk/yasm/; revision=2297
2010-03-03 09:41:12 +00:00
Brian Gladman
ed58136605
Correction to Python detection on Windows
...
svn path=/trunk/yasm/; revision=2296
2010-02-25 11:47:02 +00:00
Brian Gladman
e062b3c456
Yet one more attempt to find Python in Windows
...
svn path=/trunk/yasm/; revision=2295
2010-02-25 10:57:07 +00:00
Brian Gladman
40ab77b4d0
Make a further attempt to use the Windows registry to find Python
...
svn path=/trunk/yasm/; revision=2294
2010-02-24 11:26:40 +00:00
Brian Gladman
e6fd6d7af1
correct error in python detection batch file
...
svn path=/trunk/yasm/; revision=2293
2010-02-23 08:56:20 +00:00
Brian Gladman
c85781d095
Hopefully remove python discovery issue in Windows build
...
svn path=/trunk/yasm/; revision=2292
2010-02-23 08:15:43 +00:00
Peter Johnson
d28f2a03a7
vsyasm: More gracefully handle single input file by using output name as-is.
...
Patch by: Brian Gladman
svn path=/trunk/yasm/; revision=2291
2010-02-19 07:07:51 +00:00
Peter Johnson
03de198f09
Add vc10 and vsyasm build files to EXTRA_DIST.
...
svn path=/trunk/yasm/; revision=2290
2010-02-17 06:33:26 +00:00
Brian Gladman
b2d1f3fe4b
Update Visual Studio 2010 build files
...
svn path=/trunk/yasm/; revision=2289
2010-02-15 10:45:22 +00:00
Brian Gladman
03a71a10e4
1. Add vsyasm build to VC9 and vc10 builds
...
2. Improve search for Python interpreter
svn path=/trunk/yasm/; revision=2288
2010-02-13 19:26:44 +00:00
Peter Johnson
c699637602
vsyasm: create intermediate output directories if necessary.
...
This feature is apparently assumed by MSBUILD.
Contributed (with minor modifications) by: Brian Gladman
svn path=/trunk/yasm/; revision=2287
2010-02-13 08:42:27 +00:00
Peter Johnson
11a71a15f9
Update yasm_parsers(7) now that GAS preprocessor support is fairly mature.
...
svn path=/trunk/yasm/; revision=2286
2010-02-13 07:25:23 +00:00
Peter Johnson
74e776b0f6
Add support for gas preprocessor macro directives.
...
It doesn't yet support the full set of macro types gas supports, but
can handle a lot of common cases.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2285
2010-02-13 07:22:23 +00:00
Peter Johnson
463f4d7963
Add "vsyasm", a batch version of yasm primarily useful for VS2010.
...
Basically the objfile, listfile, and mapfile options specify output
directories instead of files. Multiple files are accepted and each one
is independently assembled in command line order. All options (such
as include directories and predefined macros) apply to all input files.
Any error terminates the process early.
Suggested by: Brian Gladman
svn path=/trunk/yasm/; revision=2284
2010-02-06 09:27:32 +00:00
Peter Johnson
419e16fc71
nasm_pp_cleanup(): Do a better job of cleaning up.
...
svn path=/trunk/yasm/; revision=2283
2010-02-06 09:13:56 +00:00
Peter Johnson
702da8cc55
Update flat and DJGPP Makefiles for GAS preproc and parser changes.
...
svn path=/trunk/yasm/; revision=2282
2010-01-20 03:58:15 +00:00
Brian Gladman
d9bfa3d26f
Update VC++ v10 build
...
svn path=/trunk/yasm/; revision=2281
2010-01-19 11:11:35 +00:00
Brian Gladman
3097cd1ad0
Update VC++ v9 build
...
svn path=/trunk/yasm/; revision=2280
2010-01-19 11:09:21 +00:00
Peter Johnson
cb7f1a254c
Add .intel_syntax and .gas_syntax support to GAS parser.
...
Uses the NASM parser for the .intel_syntax parsing heavy lifting.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2279
2010-01-19 07:57:43 +00:00
Peter Johnson
14888572a6
Add nasm-parser-struct.h to SOURCES.
...
svn path=/trunk/yasm/; revision=2278
2010-01-19 07:28:08 +00:00
Peter Johnson
7d6b1a0ae4
Nasm parser: Add some very basic MASM-ish syntax handling, along the lines
...
of the TASM "mode".
These code paths aren't used yet; they will be used for GAS .intel_syntax
handling.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2277
2010-01-19 07:03:15 +00:00
Peter Johnson
d965ef7d7a
Split yasm_parser_nasm structure out to separate header.
...
This is needed so that other parsers can get access to this structure without
naming conflicts.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2276
2010-01-19 06:56:08 +00:00
Peter Johnson
d61b43941d
Allow gas flags input to bin objfmt (ignored and not used).
...
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2275
2010-01-14 08:24:13 +00:00
Peter Johnson
26c7e74729
substitute_values(): Allocate sufficient space for null terminator.
...
Noticed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2274
2010-01-14 08:10:35 +00:00
Peter Johnson
e7185d2e24
gas-preproc.c: Use sprintf instead of snprintf.
...
It's impossible for a decimal long string to be longer than 64 chars.
Also remove workaround for MSVC added in r2267.
svn path=/trunk/yasm/; revision=2273
2010-01-13 04:44:28 +00:00
Peter Johnson
cc6301d9ce
Allow older automake version (1.9.6).
...
svn path=/trunk/yasm/; revision=2272
2010-01-12 05:59:37 +00:00
Brian Gladman
12d3a8f642
Fix #200 - yasm.rules double quote issue
...
svn path=/trunk/yasm/; revision=2271
2010-01-08 09:50:52 +00:00
Brian Gladman
9dbb4aa480
"Fix #200 " - yasm.rules double quote issue
...
svn path=/trunk/yasm/; revision=2270
2010-01-08 09:47:46 +00:00
Peter Johnson
c30e4abfd3
Update autoconf/automake scripts.
...
Also remove ltmain.sh as we no longer use libtool.
Patch submitted by: Roumen Petrov <bugtrack@roumenpetrov.info>
svn path=/trunk/yasm/; revision=2269
2010-01-07 07:00:05 +00:00
Peter Johnson
553e615b56
Unbreak make distcheck.
...
svn path=/trunk/yasm/; revision=2268
2010-01-07 06:55:03 +00:00
Brian Gladman
ed1ff0ef26
1. Add gas preprocessor build on Windows
...
2. Add snprintf -> _snprintf define for VC++ build
svn path=/trunk/yasm/; revision=2267
2010-01-05 16:01:53 +00:00
Peter Johnson
fd03e1eef5
Now that the gas preproc supports .rept, remove it from the gas parser.
...
svn path=/trunk/yasm/; revision=2266
2010-01-03 22:02:30 +00:00
Peter Johnson
6ede18e881
GAS preproc: Fix line number for .rept without matching .endr error.
...
The line number reported for the error is that of the .rept directive.
Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
svn path=/trunk/yasm/; revision=2265
2010-01-03 21:59:28 +00:00
Peter Johnson
737c225a50
Update Pyxelator to avoid deprecation warnings on recent Python versions.
...
svn path=/trunk/yasm/; revision=2264
2010-01-03 03:47:16 +00:00
Peter Johnson
8500270339
bin-objfmt.c: Comment out unused function (kept in the code for debugging).
...
svn path=/trunk/yasm/; revision=2263
2010-01-03 02:47:28 +00:00
Peter Johnson
e8ff41cac1
Fix two more instances of queue.h HEAD macros for portability.
...
svn path=/trunk/yasm/; revision=2262
2010-01-03 02:46:11 +00:00