]>
granicus.if.org Git - yasm/log
Simon Brenner [Sun, 2 Oct 2011 03:57:35 +0000 (05:57 +0200)]
Add testcase for struc with base offset
Simon Brenner [Sun, 2 Oct 2011 03:39:11 +0000 (05:39 +0200)]
Implement the base offset parameter to 'struc'
Peter Johnson [Fri, 30 Sep 2011 19:52:07 +0000 (12:52 -0700)]
nasm-pp.c: Plug a memory leak.
Peter Johnson [Wed, 28 Sep 2011 06:18:15 +0000 (23:18 -0700)]
Merge pull request #59 from pwo/patch-1
Fix clang warning.
Pawel Worach [Sat, 24 Sep 2011 13:41:08 +0000 (16:41 +0300)]
Fix clang warning:
libyasm/md5.c:166:31: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
~~~ ^~~
Peter Johnson [Sun, 4 Sep 2011 04:27:21 +0000 (21:27 -0700)]
Makefile.am: Clean YASM-VERSION.h.
Peter Johnson [Sun, 4 Sep 2011 04:18:34 +0000 (21:18 -0700)]
Fix .gitignore for some wildcards.
Peter Johnson [Sun, 4 Sep 2011 04:18:08 +0000 (21:18 -0700)]
Add missing macho32-pext test case.
Peter Johnson [Sat, 27 Aug 2011 23:28:25 +0000 (16:28 -0700)]
Regenerate man pages.
Peter Johnson [Sat, 27 Aug 2011 17:01:26 +0000 (10:01 -0700)]
macho: Support N_PEXT bit.
Can be enabled via use of "private_extern" in NASM syntax.
Patch by: Hironori Bono
[#215 state:resolved]
Peter Johnson [Sat, 27 Aug 2011 16:25:30 +0000 (09:25 -0700)]
Generate version number information from git history.
Due to the svn import structure, a special case is currently implemented
to look for the 1.1.0 branchpoint instead of the most recent tag on the
master branch. This will be removed after the first release is tagged
on the master branch in git.
Specific details:
autogen.sh: More aggressively clean autoconf cache.
This is needed to ensure the version number is actually regenerated.
Don't generate PACKAGE_PATCHLEVEL or PACKAGE_BUILD variables. The
genversion program now parses PACKAGE_VERSION directly.
For Mkfiles builds, YASM-VERSION.h is generated and included by the custom
config.h. This avoids the need to edit config.h for versioning.
Peter Johnson [Sun, 29 May 2011 23:54:34 +0000 (16:54 -0700)]
Add .gitignore files.
These are based on the old svn:ignore properties.
Peter Johnson [Fri, 19 Aug 2011 17:43:16 +0000 (10:43 -0700)]
Remove $Id$ and RCSID() usage.
These are useless now that we're using git.
Peter Johnson [Fri, 19 Aug 2011 17:21:10 +0000 (10:21 -0700)]
Fix const warning in elf_machine_ssym usage.
Reported by: Pierre Muller
[#237 state:resolved]
Peter Johnson [Fri, 19 Aug 2011 17:12:15 +0000 (10:12 -0700)]
win64-except.c: Fix incorrect dereference.
Reported by: Pierre Muller
[#236 state:resolved]
Peter Johnson [Fri, 19 Aug 2011 17:07:34 +0000 (10:07 -0700)]
file.h: Separate conditional inclusion of direct.h.
This fixes builds on mingw64.
Reported by: Pierre Muller
[#235 state:resolved]
Peter Johnson [Mon, 11 Jul 2011 07:15:30 +0000 (00:15 -0700)]
dwarf: Fix uninitialized structure member.
dwarf2_loc.discriminator wasn't being initialized by
dwarf2_generate_line_section, leading to incorrect output, including
intermittent test failures in gen64/dwarf64_pathname.
Peter Johnson [Mon, 11 Jul 2011 06:44:18 +0000 (23:44 -0700)]
expr_simplify_identity: Pass int_term via pointer.
This allows signaling to the caller (expr_level_op) that the int_term
was destroyed. Without this, the new expr-simplify-identity testcase
has a use-after-free.
[#232 state:resolved]
Peter Johnson [Mon, 4 Jul 2011 18:35:19 +0000 (11:35 -0700)]
Fix VGATHER/VPGATHER memory sizes.
These now match the memory fetch sizes in the AVX reference.
Reported by: nasm64developer
Peter Johnson [Mon, 4 Jul 2011 02:44:42 +0000 (19:44 -0700)]
Add AVX2 VGATHER* and VPGATHER* instructions.
These instructions use "VSIB" encoding, which takes the place of the
usual SIB encoding. Several tests cover various legal and illegal
modes.
Last part of [#227 state:resolved].
Peter Johnson [Sun, 3 Jul 2011 21:36:37 +0000 (14:36 -0700)]
Add most Intel AVX2 instructions.
Reference: http://www.intel.com/software/avx rev11 spec
This is all AVX2 instructions except for VGATHER*/VPGATHER*, which
require additional ModRM handling.
Portions contributed by: Mark Charney <mark.charney@intel.com>
Part of [#227].
Peter Johnson [Sun, 3 Jul 2011 19:48:46 +0000 (12:48 -0700)]
pmovmskb/vpmovmskb: default operand size is 64 bits.
Peter Johnson [Sun, 3 Jul 2011 08:48:44 +0000 (01:48 -0700)]
Add Intel BMI1, BMI2, INVPCID, LZCNT instructions.
Reference: http://www.intel.com/software/avx rev11 spec
Also add appropriate CPU bits and directive handling for these.
Currently we have no good way of handling an "or" of instruction bits
(in this case needed for LZCNT, where it's either AMD or LZCNT). For
now, make it LZCNT only.
Contributed by: Mark Charney <mark.charney@intel.com>
Part of [#227].
Peter Johnson [Sun, 3 Jul 2011 00:11:10 +0000 (17:11 -0700)]
x86/gas: Fix no-suffix push and pop.
Previously plain "push" and "pop" would always generate a 16-bit pop
(for effective address versions).
Reported by: Alexei Svitkine
[#212 state:resolved]
Peter Johnson [Sat, 2 Jul 2011 23:28:29 +0000 (16:28 -0700)]
Add test for 64-bit shr/shl.
Peter Johnson [Tue, 28 Jun 2011 06:48:28 +0000 (23:48 -0700)]
Allow 64-bit LFS/LGS/LSS.
[#229 state:resolved]
Peter Johnson [Sun, 26 Jun 2011 06:32:22 +0000 (23:32 -0700)]
Fix "times" relocation handling.
Previously a line such as "times 4 mov rax, [rel foobar]" would result
in incorrect relocations being generated.
Patch by: bird-yasm@anduin.net
[#211 state:resolved]
Peter Johnson [Sat, 25 Jun 2011 22:09:03 +0000 (15:09 -0700)]
Fix cython.m4 for beta versions of Cython.
[#204 state:resolved]
Peter Johnson [Sat, 25 Jun 2011 21:58:27 +0000 (14:58 -0700)]
Fix build with recent Cython.
[#216 state:resolved]
Peter Johnson [Tue, 21 Jun 2011 06:30:44 +0000 (23:30 -0700)]
Fix #263: Add quotes to yasm.rules switches.
Peter Johnson [Sun, 29 May 2011 22:29:15 +0000 (15:29 -0700)]
Fix escaping at end of gas string constant.
Patch by: Daniel Diaz <Daniel.Diaz@univ-paris1.fr>
Peter Johnson [Sun, 29 May 2011 20:14:22 +0000 (13:14 -0700)]
Fix lar and lsl second operand size.
Also support 32-bit second operand for extra compatibility against ISA
documentation, although only the low 16 bits are used.
Fixes #261.
Jari Aalto [Sun, 1 May 2011 11:46:36 +0000 (14:46 +0300)]
frontends/yasm/yasm.xml: Use GNU layout and put --help option to the end
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Peter Johnson <peter@tortall.net>
Peter Johnson [Mon, 21 Mar 2011 04:18:01 +0000 (21:18 -0700)]
Fix test failure due to build environment.
When YASM_TEST_SUITE environment is defined, force version to "yasm
HEAD" and all yasm__getcwd() calls to return "./".
Brian Gladman [Sat, 29 Jan 2011 10:50:25 +0000 (10:50 -0000)]
1. Tidy up VS 2010 build
2. Set correct VS tool path on win32 systems
svn path=/trunk/yasm/; revision=2368
Peter Johnson [Mon, 6 Sep 2010 19:33:25 +0000 (19:33 -0000)]
Fix #223: Correctly handle "./" paths in dwarf2.
As dwarf2 has a directory table in addition to a filename table, we split
the provided pathname when generating the filename table. This correctly
combined both "./foo" and "foo" into a single filename table entry.
However, we were only matching on pathname instead of dir+filename when
actually generating the dwarf opcodes, resulting in not finding the "./foo"
version. Fix to check both dir and filename separately, splitting the same
way we do when generating the filename table.
svn path=/trunk/yasm/; revision=2367
Peter Johnson [Sat, 21 Aug 2010 07:32:54 +0000 (07:32 -0000)]
Improve gas syntax .set directive to better match GNU as behavior.
- Add support for deferred symbols (those which depend on other symbols
that have not yet been .set)
- Add support for re-defining symbols
- Add support for 0x hex notation in literals
Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
svn path=/trunk/yasm/; revision=2366
Peter Johnson [Wed, 18 Aug 2010 06:23:30 +0000 (06:23 -0000)]
coff: Add support for gas .secrel32 directive.
svn path=/trunk/yasm/; revision=2365
Peter Johnson [Wed, 18 Aug 2010 06:23:06 +0000 (06:23 -0000)]
Implement yasm_value_finalize_expr() using yasm_value_finalize().
Previously this was implemented the opposite way, contrary to its
documentation. This resulted in clearing any already set yasm_value
relative fields.
svn path=/trunk/yasm/; revision=2364
Peter Johnson [Wed, 18 Aug 2010 06:21:34 +0000 (06:21 -0000)]
Add prototype for yasm_dv_get_value().
svn path=/trunk/yasm/; revision=2363
Peter Johnson [Wed, 18 Aug 2010 06:21:08 +0000 (06:21 -0000)]
Add yasm_dv_get_value() to get yasm_value from yasm_dataval.
svn path=/trunk/yasm/; revision=2362
Peter Johnson [Tue, 17 Aug 2010 05:36:18 +0000 (05:36 -0000)]
coff dir_def(): Use symtab_use() instead of symtab_get().
svn path=/trunk/yasm/; revision=2361
Peter Johnson [Tue, 17 Aug 2010 05:32:46 +0000 (05:32 -0000)]
coff/win32/win64: Add support for .def, .scl, .type, and .endef directives.
These can be used to set a specific value for the coff sclass and type
symbol fields.
svn path=/trunk/yasm/; revision=2360
Peter Johnson [Mon, 16 Aug 2010 02:28:36 +0000 (02:28 -0000)]
dwarf2: Add support for .loc "discriminator" option.
svn path=/trunk/yasm/; revision=2359
Peter Johnson [Sat, 14 Aug 2010 02:26:41 +0000 (02:26 -0000)]
gas: Fix movsw/movzw memory operand encodings.
The register versions worked okay due to size matching, but the memory
versions relied on suffix matching, which wasn't being generated correctly.
Reported by: Tony Goelz <cag@absoft.com>
svn path=/trunk/yasm/; revision=2358
Peter Johnson [Fri, 6 Aug 2010 08:14:51 +0000 (08:14 -0000)]
Bump trunk internal version to 1.1.99.
svn path=/trunk/yasm/; revision=2351
Peter Johnson [Sun, 1 Aug 2010 17:44:56 +0000 (17:44 -0000)]
Fix #213: Fix gas-preproc misuse of strcpy() and uninitialized variables.
- strcpy() was being used with overlapping memory ranges; switched to memmove().
- bline->line_number was not set in one location.
Exact causes identified using valgrind.
svn path=/trunk/yasm/; revision=2348
Peter Johnson [Sun, 1 Aug 2010 17:31:12 +0000 (17:31 -0000)]
win32: Make external safeseh work again (broken in [2343]).
svn path=/trunk/yasm/; revision=2347
Peter Johnson [Sun, 1 Aug 2010 01:37:37 +0000 (01:37 -0000)]
Rename RDRND feature bit to RDRAND.
svn path=/trunk/yasm/; revision=2346
Peter Johnson [Sun, 1 Aug 2010 01:27:40 +0000 (01:27 -0000)]
macho32: Correctly output pc-relative non-external intersegment.
Reported by: Justin Lebar <justin.lebar@gmail.com>
svn path=/trunk/yasm/; revision=2345
Peter Johnson [Sun, 1 Aug 2010 01:05:04 +0000 (01:05 -0000)]
macho: Fix relocation table file location.
svn path=/trunk/yasm/; revision=2344
Peter Johnson [Sat, 31 Jul 2010 10:17:05 +0000 (10:17 -0000)]
Fix #139: Fix a number of issues with win32 safeseh support.
- Always create a non-global absolute symbol @feat.00 with value of 1.
- Set type field to 0x20 (function) for safeseh-declared symbols.
- Force safeseh-declared symbols into the symbol table, but don't force
them to be global.
svn path=/trunk/yasm/; revision=2343
Brian Gladman [Tue, 27 Jul 2010 18:20:22 +0000 (18:20 -0000)]
Remove some causes of unnecessary rebuilds on Windows (VC10 only)
svn path=/trunk/yasm/; revision=2342
Peter Johnson [Fri, 23 Jul 2010 03:36:01 +0000 (03:36 -0000)]
gen_x86_insn.py: Add SMX to list of ordered_cpu_features.
svn path=/trunk/yasm/; revision=2340
Peter Johnson [Fri, 23 Jul 2010 03:35:21 +0000 (03:35 -0000)]
Fix #211: Add INVEPT, INVVPID, and GETSEC instructions.
INVEPT and INVVPID is enabled via the "eptvpid" cpu feature.
GETSEC is enabled via the "smx" cpu feature.
svn path=/trunk/yasm/; revision=2339
Peter Johnson [Fri, 23 Jul 2010 03:08:24 +0000 (03:08 -0000)]
Fix #212: Set LC_SEGMENT vmsize correctly.
svn path=/trunk/yasm/; revision=2338
Peter Johnson [Sat, 3 Jul 2010 19:48:00 +0000 (19:48 -0000)]
Add support for XSAVEOPT instruction.
Reported by: Mark Charney <mark.charney@intel.com>
svn path=/trunk/yasm/; revision=2337
Peter Johnson [Sat, 3 Jul 2010 02:29:22 +0000 (02:29 -0000)]
Add Intel post-32nm processor instructions (section 7 of AVX spec).
Contributed by: Mark Charney <mark.charney@intel.com>
svn path=/trunk/yasm/; revision=2336
Peter Johnson [Fri, 2 Jul 2010 21:27:43 +0000 (21:27 -0000)]
Remove AMD CVT16 instructions.
Per http://sourceware.org/ml/binutils/2009-11/msg00372.html, this has been
removed from GNU as.
Several instructions also conflict with the latest Intel AVX instructions.
svn path=/trunk/yasm/; revision=2335
Peter Johnson [Wed, 16 Jun 2010 05:22:17 +0000 (05:22 -0000)]
Fix #207: Don't emit unnecessary REX.W for pinsrw.
svn path=/trunk/yasm/; revision=2334
Peter Johnson [Wed, 16 Jun 2010 05:13:23 +0000 (05:13 -0000)]
Fix #206: Update gettext bits to gettext 0.17.
svn path=/trunk/yasm/; revision=2333
Brian Gladman [Tue, 8 Jun 2010 17:12:48 +0000 (17:12 -0000)]
Minor update to the Visual Studio 2010 build files
svn path=/trunk/yasm/; revision=2332
Brian Gladman [Tue, 8 Jun 2010 16:30:52 +0000 (16:30 -0000)]
svn path=/trunk/yasm/; revision=2331
Brian Gladman [Thu, 27 May 2010 13:26:23 +0000 (13:26 -0000)]
Add an environment variable YASMPATH to override the default vsyasm directory
svn path=/trunk/yasm/; revision=2330
Brian Gladman [Thu, 27 May 2010 08:46:46 +0000 (08:46 -0000)]
correct reported error in vsyasm.xml
svn path=/trunk/yasm/; revision=2329
Brian Gladman [Mon, 24 May 2010 08:37:45 +0000 (08:37 -0000)]
change vsyasm property sheet to use an absolute path to vsyasm (as msbuild requires)
svn path=/trunk/yasm/; revision=2328
Peter Johnson [Sun, 16 May 2010 03:37:00 +0000 (03:37 -0000)]
Fix #201: explicitly ignore [warning] directive and treat as warning.
svn path=/trunk/yasm/; revision=2323
Peter Johnson [Sun, 16 May 2010 03:14:09 +0000 (03:14 -0000)]
Support all unary operators in directive expressions.
svn path=/trunk/yasm/; revision=2322
Peter Johnson [Sat, 15 May 2010 07:45:48 +0000 (07:45 -0000)]
Fix #202 (incorrect GOT offset generated in NASM mode).
Don't generate an additional offset for _GLOBAL_OFFSET_TABLE_ if a WRT was
specified (the NASM usage). In GAS, _GLOBAL_OFFSET_TABLE_ doesn't have a WRT
but instead has special handling.
This isn't quite *exactly* the right fix; a better fix would be to recognize
the _GLOBAL_OFFSET_TABLE_ case in the GAS parser and adjust the value
appropriately there. However, this fix seems to do the right thing in the
meantime for both GAS and NASM cases.
svn path=/trunk/yasm/; revision=2321
Peter Johnson [Thu, 8 Apr 2010 06:10:16 +0000 (06:10 -0000)]
Update frontend --version copyright dates.
svn path=/trunk/yasm/; revision=2317
Peter Johnson [Thu, 8 Apr 2010 05:57:28 +0000 (05:57 -0000)]
COPYING: Update credits a bit.
svn path=/trunk/yasm/; revision=2314
Peter Johnson [Thu, 8 Apr 2010 05:56:33 +0000 (05:56 -0000)]
Update copyright dates.
svn path=/trunk/yasm/; revision=2313
Peter Johnson [Thu, 8 Apr 2010 03:46:43 +0000 (03:46 -0000)]
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
Peter Johnson [Thu, 8 Apr 2010 03:32:04 +0000 (03:32 -0000)]
NASM preprocessor: Add %scope and %endscope.
Contributed by: Mathieu Monnier
svn path=/trunk/yasm/; revision=2311
Peter Johnson [Sun, 28 Mar 2010 19:28:54 +0000 (19:28 -0000)]
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
Peter Johnson [Fri, 19 Mar 2010 23:00:36 +0000 (23:00 -0000)]
vsyasm: Allow override of object, list, and map file extensions.
svn path=/trunk/yasm/; revision=2309
Peter Johnson [Fri, 19 Mar 2010 22:46:16 +0000 (22:46 -0000)]
vsyasm: Fix map extension.
svn path=/trunk/yasm/; revision=2308
Brian Gladman [Wed, 10 Mar 2010 11:33:55 +0000 (11:33 -0000)]
Improve VSYASM integration into Visual Studio 2010
svn path=/trunk/yasm/; revision=2307
Peter Johnson [Thu, 4 Mar 2010 05:13:48 +0000 (05:13 -0000)]
vsyasm: if -E is used, print command line as first line in error file.
Requested by: Brian Gladman
svn path=/trunk/yasm/; revision=2300
Peter Johnson [Thu, 4 Mar 2010 05:08:00 +0000 (05:08 -0000)]
Makefile.am: Update for [2297] changes.
svn path=/trunk/yasm/; revision=2299
Brian Gladman [Wed, 3 Mar 2010 10:31:37 +0000 (10:31 -0000)]
Adjust YASM integration into Visual Studio 2010 slightly
svn path=/trunk/yasm/; revision=2298
Brian Gladman [Wed, 3 Mar 2010 09:41:12 +0000 (09:41 -0000)]
Add VSYASM integration files for Visual Studio 2010 (and remove incorrect YASM ones)
svn path=/trunk/yasm/; revision=2297
Brian Gladman [Thu, 25 Feb 2010 11:47:02 +0000 (11:47 -0000)]
Correction to Python detection on Windows
svn path=/trunk/yasm/; revision=2296
Brian Gladman [Thu, 25 Feb 2010 10:57:07 +0000 (10:57 -0000)]
Yet one more attempt to find Python in Windows
svn path=/trunk/yasm/; revision=2295
Brian Gladman [Wed, 24 Feb 2010 11:26:40 +0000 (11:26 -0000)]
Make a further attempt to use the Windows registry to find Python
svn path=/trunk/yasm/; revision=2294
Brian Gladman [Tue, 23 Feb 2010 08:56:20 +0000 (08:56 -0000)]
correct error in python detection batch file
svn path=/trunk/yasm/; revision=2293
Brian Gladman [Tue, 23 Feb 2010 08:15:43 +0000 (08:15 -0000)]
Hopefully remove python discovery issue in Windows build
svn path=/trunk/yasm/; revision=2292
Peter Johnson [Fri, 19 Feb 2010 07:07:51 +0000 (07:07 -0000)]
vsyasm: More gracefully handle single input file by using output name as-is.
Patch by: Brian Gladman
svn path=/trunk/yasm/; revision=2291
Peter Johnson [Wed, 17 Feb 2010 06:33:26 +0000 (06:33 -0000)]
Add vc10 and vsyasm build files to EXTRA_DIST.
svn path=/trunk/yasm/; revision=2290
Brian Gladman [Mon, 15 Feb 2010 10:45:22 +0000 (10:45 -0000)]
Update Visual Studio 2010 build files
svn path=/trunk/yasm/; revision=2289
Brian Gladman [Sat, 13 Feb 2010 19:26:44 +0000 (19:26 -0000)]
1. Add vsyasm build to VC9 and vc10 builds
2. Improve search for Python interpreter
svn path=/trunk/yasm/; revision=2288
Peter Johnson [Sat, 13 Feb 2010 08:42:27 +0000 (08:42 -0000)]
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
Peter Johnson [Sat, 13 Feb 2010 07:25:23 +0000 (07:25 -0000)]
Update yasm_parsers(7) now that GAS preprocessor support is fairly mature.
svn path=/trunk/yasm/; revision=2286
Peter Johnson [Sat, 13 Feb 2010 07:22:23 +0000 (07:22 -0000)]
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
Peter Johnson [Sat, 6 Feb 2010 09:27:32 +0000 (09:27 -0000)]
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
Peter Johnson [Sat, 6 Feb 2010 09:13:56 +0000 (09:13 -0000)]
nasm_pp_cleanup(): Do a better job of cleaning up.
svn path=/trunk/yasm/; revision=2283
Peter Johnson [Wed, 20 Jan 2010 03:58:15 +0000 (03:58 -0000)]
Update flat and DJGPP Makefiles for GAS preproc and parser changes.
svn path=/trunk/yasm/; revision=2282
Brian Gladman [Tue, 19 Jan 2010 11:11:35 +0000 (11:11 -0000)]
Update VC++ v10 build
svn path=/trunk/yasm/; revision=2281
Brian Gladman [Tue, 19 Jan 2010 11:09:21 +0000 (11:09 -0000)]
Update VC++ v9 build
svn path=/trunk/yasm/; revision=2280
Peter Johnson [Tue, 19 Jan 2010 07:57:43 +0000 (07:57 -0000)]
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