bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/20798] New: wrong opcode generated with .intel_syntax noprefix


From: SztfG at yandex dot ru
Subject: [Bug gas/20798] New: wrong opcode generated with .intel_syntax noprefix
Date: Wed, 09 Nov 2016 11:34:52 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20798

            Bug ID: 20798
           Summary: wrong opcode generated with .intel_syntax noprefix
           Product: binutils
           Version: 2.26
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: SztfG at yandex dot ru
  Target Milestone: ---

testcase:

        .intel_syntax noprefix
        .code64
        .section        .text,"ax",@progbits
        .p2align 4,,15
        .globl  _start
        .type   _start, @function
_start:
        mov rax, qword [0x10]
        .size   _start, .-_start


objdump output:

0000000000000000 <_start>:
   0:   48 8b 04 25 18 00 00    mov    rax,QWORD PTR ds:0x18
   7:   00 


expected objdump output:

0000000000000000 <_start>:
   0:   48 a1 10 00 00 00 00    movabs rax,ds:0x10
   7:   00 00 00

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]