x86: bring "gas --help" output for --32 etc in sync with reality
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Jun 2021 06:01:12 +0000 (08:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Jun 2021 06:01:12 +0000 (08:01 +0200)
commitb00af7c8c615891f24a21d79a5bea35ef82bf252
tree5dd5a800ca6c88e086f64c8cc508323d2c89d920
parent2f2be86bbb8d26f780183e45b169748ef625f03d
x86: bring "gas --help" output for --32 etc in sync with reality

The testsuite uses the output to determine whether BFD64 is in effect.

--x32 is supported for ELF only; don't advertise it for PE/COFF. --64 is
also supported for Mach-O; advertise it. Adjust the testsuite's BFD64
check accordingly.

Also replace "code" by "object", since it's the object format that the
options primarily control. It's also _initial_ code bitness, but this
can be changed by directives.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp