bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/10636] New: x86-64 assembler misassemble 32bit absolute address


From: hjl dot tools at gmail dot com
Subject: [Bug gas/10636] New: x86-64 assembler misassemble 32bit absolute address
Date: 12 Sep 2009 22:55:57 -0000

address@hidden lrb]$ cat s.s
        mov 0xFEE000F0,%eax
        mov 0xFEE000F0,%ebx
address@hidden lrb]$ gcc -c s.s
address@hidden lrb]$ objdump -dw s.o

s.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   8b 04 25 f0 00 e0 fe    mov    0xfffffffffee000f0,%eax
   7:   8b 1c 25 f0 00 e0 fe    mov    0xfffffffffee000f0,%ebx
address@hidden lrb]$

Since the displacement is signed extended to 64bit, we need to
handle it properly.

-- 
           Summary: x86-64 assembler misassemble 32bit absolute address
           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=10636

------- 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]