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

            Bug ID: 26704
           Summary: Missing the 'l' suffix for sysret in 64-bit mode
           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]$ echo sysret | as --32 -o x.o -
[hjl@gnu-cfl-2 tmp]$ objdump -dw x.o

x.o:     file format elf32-i386


Disassembly of section .text:

00000000 <.text>:
   0:   0f 07                   sysret 
[hjl@gnu-cfl-2 tmp]$ echo sysret | as --64 -o x.o -
{standard input}: Assembler messages:
{standard input}:1: Warning: no instruction mnemonic suffix given and no
register operands; using default for `sysret'
[hjl@gnu-cfl-2 tmp]$ echo sysretl | as --64 -o x.o -
[hjl@gnu-cfl-2 tmp]$ objdump -dw x.o

x.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   0f 07                   sysret <<<<< Won't assemble
[hjl@gnu-cfl-2 tmp]$

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

Reply via email to