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.