x86: permit "default" with .arch
authorJan Beulich <jbeulich@suse.com>
Wed, 6 Jul 2022 07:21:40 +0000 (09:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 6 Jul 2022 07:21:40 +0000 (09:21 +0200)
commit3ce2ebcf888ef86974be57f7c0ea973538317d11
treeb6e55fae539b0dbdad5607ff0b1f06d219c5ce13
parentd92c7521f9b01841f27a16502819081e992dd0f5
x86: permit "default" with .arch

So far there was no way to reset the architecture to that assembly would
start with in the absence of any overrides (command line or directives).
Note that for Intel MCU "default" is merely an alias of "iamcu".

While there also zap a stray @item from the doc section, as noticed
when inspecting the generated output (which still has some quirks, but
those aren't easy to address without re-flowing almost the entire
section).
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/arch-dflt.l [new file with mode: 0644]
gas/testsuite/gas/i386/arch-dflt.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp