svn commit: r2082 - in trunk/yasm: frontends/yasm libyasm modules/objfmts/bin modules/objfmts/coff modules/objfmts/dbg modules/objfmts/elf modules/objfmts/macho modules/objfmts/rdf modules/objfmts/win64/tests modules/objfmts/win64/tests/gas modules/objfmts/xdf modules/parsers/gas modules/parsers/nasm modules/preprocs/cpp modules/preprocs/nasm/tests modules/preprocs/raw modules/preprocs/yapp

peter at tortall.net peter at tortall.net
Thu May 8 23:46:03 PDT 2008


Author: peter
Date: Thu May  8 23:46:02 2008
New Revision: 2082

Added:
   trunk/yasm/modules/objfmts/coff/win64-gas.mac
   trunk/yasm/modules/objfmts/coff/win64-nasm.mac
   trunk/yasm/modules/objfmts/win64/tests/gas/
   trunk/yasm/modules/objfmts/win64/tests/gas/Makefile.inc   (contents, props changed)
   trunk/yasm/modules/objfmts/win64/tests/gas/win64-gas-sce.asm
   trunk/yasm/modules/objfmts/win64/tests/gas/win64-gas-sce.hex
   trunk/yasm/modules/objfmts/win64/tests/gas/win64_gas_test.sh   (contents, props changed)
   trunk/yasm/modules/parsers/nasm/nasm-std.mac
      - copied, changed from r2070, /trunk/yasm/modules/preprocs/nasm/standard.mac
Removed:
   trunk/yasm/modules/preprocs/nasm/genmacro.c
   trunk/yasm/modules/preprocs/nasm/standard.mac
Modified:
   trunk/yasm/frontends/yasm/yasm.c
   trunk/yasm/libyasm/coretype.h
   trunk/yasm/libyasm/objfmt.h
   trunk/yasm/libyasm/parser.h
   trunk/yasm/libyasm/preproc.h
   trunk/yasm/modules/objfmts/bin/bin-objfmt.c
   trunk/yasm/modules/objfmts/coff/Makefile.inc
   trunk/yasm/modules/objfmts/coff/coff-objfmt.c
   trunk/yasm/modules/objfmts/dbg/dbg-objfmt.c
   trunk/yasm/modules/objfmts/elf/elf-objfmt.c
   trunk/yasm/modules/objfmts/macho/macho-objfmt.c
   trunk/yasm/modules/objfmts/rdf/rdf-objfmt.c
   trunk/yasm/modules/objfmts/win64/tests/Makefile.inc
   trunk/yasm/modules/objfmts/xdf/xdf-objfmt.c
   trunk/yasm/modules/parsers/gas/gas-parser.c
   trunk/yasm/modules/parsers/nasm/Makefile.inc
   trunk/yasm/modules/parsers/nasm/nasm-parser.c
   trunk/yasm/modules/preprocs/cpp/cpp-preproc.c
   trunk/yasm/modules/preprocs/nasm/Makefile.inc
   trunk/yasm/modules/preprocs/nasm/genversion.c
   trunk/yasm/modules/preprocs/nasm/nasm-pp.c
   trunk/yasm/modules/preprocs/nasm/nasm-preproc.c
   trunk/yasm/modules/preprocs/nasm/tests/nasmpp-nested.errwarn
   trunk/yasm/modules/preprocs/raw/raw-preproc.c
   trunk/yasm/modules/preprocs/yapp/yapp-preproc.c
Changeset:
   http://www.tortall.net/projects/yasm/changeset/2082

Log:
Split NASM preprocessor standard macro set between various modules.
Standard macro sets are looked up based on parser and preprocessor keyword
from individual modules.

The "standard" NASM parser macros now reside in the NASM parser, so when
the GAS parser is used with the NASM preprocessor, the NASM-specific macros
are no longer defined.

Object-format specific macros are now individually defined by each object
formatm module.  This allows for the object formats to be independent of the
NASM preprocessor module and yields a small optimization benefit as unused
object format macros don't need to be skipped over.

Also add GAS macro equivalents for the Win64 SEH more complex directives [1].

[1] Requested by Brian Gladman <brg at gladman.plus.com>



More information about the yasm-cvs mailing list