From: Frank K. <fbk...@my...> - 2015-04-05 15:01:48
|
I know you guys are busy, but... There's a message on the Forum... http://forum.nasm.us/index.php?topic=2101.msg9294#msg9294 ...reporting an apparent bug in 2.11.08. This may be the same as: http://bugzilla.nasm.us/show_bug.cgi?id=3392306 Here's the example code from the Forum: ;----------------------- default rel bits 64 section .rodata ; .data - same result - fbk data dq 42 ; comment out otherdata to make it work otherdata dw 100 section .text global _testFunc _testFunc: mov rax, [data] ret ;-------------------- Here's my attempt to disassemble the resulting .o files with ndisasm: (-b64 -e0x120) this is with 2.11.06 00000000 488B0500000000 mov rax,[rel 0x7] 00000007 C3 ret I guess it's "right"? this is with 2.11.08 00000000 488B05F8000000 mov rax,[rel 0xff] 00000007 C3 ret Apparently not right. I've looked at a diff, but I don't know enough C to make much of it. Simply removing the "=" in the very first change does not seem to help. :) Perhaps related... Last I knew, Apple was distributing Nasm-0.98.40. It is as if they don't like our 2.x.y series at all. Is Eric Christopher still around? Do we have any liaison with Apple at all? Are they mad at us? Anyone know? Thanks to all for all you do! Best, Frank |