#62: Yasm code segfaults, where nasm code works fine ?
peter at tortall.net
Thu Jan 12 22:45:35 PST 2006
On Mon, 19 Dec 2005, Peter Johnson wrote:
>> Problem is that everything links with our c-sources but my program
>> presents a nice
>> segfault as soon as it starts running the assembler parts. It segfaults
>> a line like
>> "and cx, 0xfffff000" and that's not really something that should segfault
>> at all.
> What version of yasm are you using? If you're not using the latest
> snapshot, please try again with it. There's a number of bugs in 0.4.0.
> Also, what object format are you targetting? ELF?
> If you're already using the latest version, send me the source; if anything
> it sounds like a relocation generation issue.
It was indeed a relocation generation issue present only in ELF32. Fixed
More information about the yasm-devel