bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/10637] New: x86 assembler failed to handle [addr] in Intel mode


From: hjl dot tools at gmail dot com
Subject: [Bug gas/10637] New: x86 assembler failed to handle [addr] in Intel mode
Date: 12 Sep 2009 23:01:03 -0000

address@hidden lrb]$ cat b.s
        .intel_syntax noprefix
        mov eax, 0xEE000F0
        mov eax, dword ptr 0xEE000F0
        mov eax, [0xEE000F0]
        mov eax, dword ptr [0xEE000F0]
        mov eax, ds:0xEE000F0
        mov eax, dword ptr ds:0xEE000F0
address@hidden lrb]$ gcc -c b.s
address@hidden lrb]$ objdump -dw b.o

b.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   b8 f0 00 e0 0e          mov    $0xee000f0,%eax
   5:   b8 f0 00 e0 0e          mov    $0xee000f0,%eax
   a:   b8 f0 00 e0 0e          mov    $0xee000f0,%eax
   f:   b8 f0 00 e0 0e          mov    $0xee000f0,%eax
  14:   8b 04 25 f0 00 e0 0e    mov    0xee000f0,%eax
  1b:   8b 04 25 f0 00 e0 0e    mov    0xee000f0,%eax
address@hidden lrb]$

It treats [0xEE000F0] as the same as 0xEE000F0.

-- 
           Summary: x86 assembler failed to handle [addr] in Intel mode
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: bug-binutils at gnu dot org


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

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




reply via email to

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