%ifidn __YASM_OBJFMT__ doesnt work ?
Peter Johnson
peter at tortall.net
Thu Dec 15 21:47:59 PST 2005
On Thu, 15 Dec 2005, Mike Frysinger wrote:
> On Thursday 15 December 2005 23:06, Vikas Kumar wrote:
>> I copied your exact test.asm and did exactly what u have done "yasm -f
>> elf -e test.asm" and it worked for me. Please try with the latest
>> version of yasm. I am using revision 1324.
>
> seems i was a bit hasty ... -e works with svn 1324, but it doesnt seem to
> actually write out the stuff in between
The problem is that even though you're specifying "-f elf", yasm
internally looks up the object format name as "elf32". It's definitely a
bug, particularly the fact that it's different between "-e" and non-"-e".
I'll get a fix implemented in the next hour or so. I'm going to initially
make the __YASM_OBJFMT__ setting match the command-line specification, as
I think that makes the most logical sense.
Thanks,
Peter
More information about the yasm-devel
mailing list