]> granicus.if.org Git - yasm/commit
Add bin object format.
authorPeter Johnson <peter@tortall.net>
Sun, 10 Mar 2002 23:15:14 +0000 (23:15 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 10 Mar 2002 23:15:14 +0000 (23:15 -0000)
commit07c32998205922e2e2b725f3108695789323af1c
treeb24970d10162ba16a7fb16ed2573c5f2cf79f1a7
parentd738a39f493481b1d52dc0a705e99b47314b2a3d
Add bin object format.
Changes to:
 objfmt interface: added parameter to directive() for sections access.
 section interface: moved start to be present for all section types.
 basic optimizer: add section start to offset determination.
(much of the section start changes are due to the need to make sure offsets
don't end up being optimized into byte-sized offsets that can't be relocated).

svn path=/trunk/yasm/; revision=490
21 files changed:
libyasm/objfmt.h
libyasm/section.c
libyasm/section.h
modules/objfmts/Makefile.inc
modules/objfmts/bin/Makefile.inc [new file with mode: 0644]
modules/objfmts/bin/bin-objfmt.c [new file with mode: 0644]
modules/objfmts/dbg/dbg-objfmt.c
modules/optimizers/basic/basic-optimizer.c
modules/parsers/nasm/bison.y.in
modules/parsers/nasm/nasm-bison.y
src/objfmt.c
src/objfmt.h
src/objfmts/Makefile.inc
src/objfmts/bin/Makefile.inc [new file with mode: 0644]
src/objfmts/bin/bin-objfmt.c [new file with mode: 0644]
src/objfmts/dbg/dbg-objfmt.c
src/optimizers/basic/basic-optimizer.c
src/parsers/nasm/bison.y.in
src/parsers/nasm/nasm-bison.y
src/section.c
src/section.h