nasm (yasm) sources commonly contain:
        mov eax, dword [rbx]

nasm -f elf64 -o 2.o 1.S
   0:   8b 03                   mov    eax,DWORD PTR [rbx]

as -msyntax=intel -mnaked-reg -o 1.o 1.S
   0:   8b 43 04                mov    eax,DWORD PTR [rbx+0x4]

-- 
           Summary: -msyntax=intel nasm-incompatible compilation
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: jan dot kratochvil at redhat dot com
                CC: bug-binutils at gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11731

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to