svn commit: r1307 - in trunk/yasm: frontends/yasm libyasm modules/objfmts/bin modules/objfmts/elf modules/objfmts/xdf

peter at tortall.net peter at tortall.net
Wed Nov 2 19:49:15 PST 2005


Author: peter
Date: Wed Nov  2 19:49:10 2005
New Revision: 1307

Modified:
   trunk/yasm/frontends/yasm/yasm.c
   trunk/yasm/libyasm/errwarn.c
   trunk/yasm/libyasm/errwarn.h
   trunk/yasm/modules/objfmts/bin/bin-objfmt.c
   trunk/yasm/modules/objfmts/coff/coff-objfmt.c
   trunk/yasm/modules/objfmts/elf/elf-objfmt.c
   trunk/yasm/modules/objfmts/xdf/xdf-objfmt.c
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1307

Log:
Add warning class (YASM_WARN_UNINIT_CONTENTS) to turn off the
"uninitialized data in code/data section: zeroing" warning.  This can now
be turned off using -Wno-uninit-contents on the command line.

* errwarn.h (yasm_warn_class): Add warning class.
* errwarn.c (yasm_errwarn_initialize): Default it to enabled.

* yasm.c (opt_warning_handler): Add as option.

* xdf-objfmt.c, elf-objfmt.c, bin-objfmt.c, coff-objfmt.c: Change warning
class for this warning.



More information about the yasm-cvs mailing list