]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: make "-msyntax=intel -mnaked-reg" match ".intel_syntax noprefix"
authorJan Beulich <jbeulich@suse.com>
Fri, 26 Jan 2024 09:32:37 +0000 (10:32 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Jan 2024 09:32:37 +0000 (10:32 +0100)
commit213f15cf1b2d29e0e6f1467c0df05c8cb97d9d6e
tree7dc7169fb2fe12fa2feb096b4a1b1b5b164cd9f0
parent0ebcbb1bd03c4fde91b032b50ec9c3a8f376b8be
x86: make "-msyntax=intel -mnaked-reg" match ".intel_syntax noprefix"

Adjustments made for the directive (by set_intel_syntax()) need also
making for the command line option. Break out respective code into a new
helper function, to also be invoked during command line processing.
Further also set register_prefix when processing -mnaked-reg.
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/intelok.d
gas/testsuite/gas/i386/intelok.e
gas/testsuite/gas/i386/intelok.s
gas/testsuite/gas/i386/intelok2.d [new file with mode: 0644]