x86: don't recognize quoted symbol names as registers or operators
authorJan Beulich <jbeulich@suse.com>
Tue, 23 May 2023 07:00:44 +0000 (09:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 23 May 2023 07:00:44 +0000 (09:00 +0200)
commit6acf9130909e5f531bb742939d402b40dee08304
treea486db159c00cc033dacd23f9eb4c843fe468215
parentc88ed92f0c01ead8d0ffe7b9f27cfe07de815d30
x86: don't recognize quoted symbol names as registers or operators

The concept of quoted symbols names was introduced pretty late. Utilize
it to allow access to symbols with names matching that of a register (or,
in Intel syntax, also an identifier-like operator).

This is primarily to aid gcc when generating Intel syntax output; see
their bug target/53929.
gas/config/tc-i386-intel.c
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/quoted.d
gas/testsuite/gas/i386/quoted.s
gas/testsuite/gas/i386/quoted2.d [new file with mode: 0644]
gas/testsuite/gas/i386/quoted2.s [new file with mode: 0644]