x86/AT&T: restrict recognition of the "absolute branch" prefix character
authorJan Beulich <jbeulich@suse.com>
Mon, 20 Mar 2023 15:57:42 +0000 (16:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 20 Mar 2023 15:57:42 +0000 (16:57 +0100)
commitccb05c9c999f274c92b09f4b29c41d91cece88cf
tree3c8cad5dd1a760e7be49aa0ed933a6ae0fa314f2
parent3f155099ad1e69a028c3585040c89fd0b77d6f25
x86/AT&T: restrict recognition of the "absolute branch" prefix character

While in principle merely rejecting this for .insn would be sufficient
for the purposes there, be more generic and reject it for anything that
isn't going to be a branch: All elements of same-mnemonic template
groups either are branches, or are not, and the few cases possibly
requiring a 2nd parsing pass aren't affected either. This then also
improves diagnostics for misuses like

inc *%eax
incl %fs:*(%eax)
add *$1, %eax
gas/config/tc-i386.c