bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25516] New: gas no longer accepts sysenter/sysexit with no -m f


From: andy at omniosce dot org
Subject: [Bug gas/25516] New: gas no longer accepts sysenter/sysexit with no -m flag.
Date: Fri, 07 Feb 2020 11:37:47 +0000

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

            Bug ID: 25516
           Summary: gas no longer accepts sysenter/sysexit with no -m
                    flag.
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: andy at omniosce dot org
  Target Milestone: ---

Since upgrading to binutils 2.34, gas will no longer assemble a file in 64-bit
mode which contains sysenter/sysexit instructions. I understand that these are
not available in 64-bit mode on AMD, but the documentation says that it will
accept both ISAs unless specifically told otherwise via a flag:

       -mamd64
       -mintel64
           This option specifies that the assembler should accept only AMD64
           or Intel64 ISA in 64-bit mode.  The default is to accept both.


% cat l.s
.text
sysenter


% gas -v l.s
GNU assembler version 2.34 (x86_64-pc-solaris2.11) using BFD version (GNU
Binutils) 2.34
l.s: Assembler messages:
l.s:2: Error: unsupported instruction `sysenter'

% gas -mintel64 l.s
%

% gas -mamd64 l.s
l.s: Assembler messages:
l.s:2: Error: unsupported instruction `sysenter'


Expected results:

gas should produce the error only with -mamd64 and not with -mintel64 and not
without a specific target ISA parameter.

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