]> granicus.if.org Git - yasm/commit
Rather than pulling the objfmt keyword back from the objfmt when setting
authorPeter Johnson <peter@tortall.net>
Fri, 16 Dec 2005 06:06:25 +0000 (06:06 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 16 Dec 2005 06:06:25 +0000 (06:06 -0000)
commit93096b120ed9644adf14c288c4b06a3ddc1f691c
tree64351eeeed0cd4e61f836d9ecf53ffc59c8aa6ff
parenta69c1f8286d6b597ae0ea28ce5f826b813726772
Rather than pulling the objfmt keyword back from the objfmt when setting
__YASM_OBJFMT__, use whatever name was specified on the command line.  This
also matches the behavior of yasm preprocess-only mode (-e).  Both the
mismatch between preproc/non-preproc and the internal name change (e.g. from
elf to elf32) were quite confusing.

Reported by: Mike Frysinger <vapier@gentoo.org>

svn path=/trunk/yasm/; revision=1325
frontends/yasm/yasm.c
modules/objfmts/elf/tests/Makefile.inc
modules/objfmts/elf/tests/elfcond.asm [new file with mode: 0644]
modules/objfmts/elf/tests/elfcond.errwarn [new file with mode: 0644]
modules/objfmts/elf/tests/elfcond.hex [new file with mode: 0644]