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

            Bug ID: 26705
           Summary: REX_W prefix isn't properly handled
           Product: binutils
           Version: 2.36 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: x86-64

[hjl@gnu-cfl-2 tmp]$ cat x.s
sysretq
mov    %rsp,%rbp
sysretq
[hjl@gnu-cfl-2 tmp]$ gcc -c x.s
[hjl@gnu-cfl-2 tmp]$ objdump -dw x.o

x.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   48 0f 07                sysretq 
   3:   48 89 e5                mov    %rsp,%rbp
   6:   48 0f 07                rex.W sysret 
[hjl@gnu-cfl-2 tmp]$

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

Reply via email to