]> granicus.if.org Git - yasm/commit
Restructure yasm_object as the central clearing house for yasm_objfmt,
authorPeter Johnson <peter@tortall.net>
Mon, 5 Mar 2007 08:43:00 +0000 (08:43 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 5 Mar 2007 08:43:00 +0000 (08:43 -0000)
commit415eee49ea2ff224d66ff6e9083f2faaa99d077d
tree776b97e00ebe4d79249b8d17bcd8ee29ecb589b1
parent4fb65a432b55d5164744102ff1ac2ab15899f199
Restructure yasm_object as the central clearing house for yasm_objfmt,
yasm_dbgfmt, and yasm_arch.  This eliminates a lot of redundant keeping
track of this information in the individual object and debug formats and
also simplifies a fair amount of code.

I'm still not happy with how arch gets passed around in output code, but
there may not be much of an alternative there.

While I'm here, clean up some unused variables and functions and re-enable
the warning for unused variables in configure.ac.

svn path=/trunk/yasm/; revision=1812
37 files changed:
configure.ac
frontends/yasm/yasm.c
libyasm/coretype.h
libyasm/dbgfmt.h
libyasm/objfmt.h
libyasm/parser.h
libyasm/section.c
libyasm/section.h
libyasm/symrec.c
libyasm/symrec.h
libyasm/value.c
modules/dbgfmts/codeview/cv-dbgfmt.c
modules/dbgfmts/codeview/cv-dbgfmt.h
modules/dbgfmts/codeview/cv-symline.c
modules/dbgfmts/codeview/cv-type.c
modules/dbgfmts/dwarf2/dwarf2-aranges.c
modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c
modules/dbgfmts/dwarf2/dwarf2-dbgfmt.h
modules/dbgfmts/dwarf2/dwarf2-info.c
modules/dbgfmts/dwarf2/dwarf2-line.c
modules/dbgfmts/null/null-dbgfmt.c
modules/dbgfmts/stabs/stabs-dbgfmt.c
modules/objfmts/bin/bin-objfmt.c
modules/objfmts/coff/coff-objfmt.c
modules/objfmts/dbg/dbg-objfmt.c
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/macho/macho-objfmt.c
modules/objfmts/rdf/rdf-objfmt.c
modules/objfmts/xdf/xdf-objfmt.c
modules/parsers/gas/gas-parse.c
modules/parsers/gas/gas-parser.c
modules/parsers/gas/gas-parser.h
modules/parsers/gas/gas-token.re
modules/parsers/nasm/nasm-parse.c
modules/parsers/nasm/nasm-parser.c
modules/parsers/nasm/nasm-parser.h
modules/parsers/nasm/nasm-token.re