]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: actually implement .noopt
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Feb 2024 07:26:22 +0000 (08:26 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Feb 2024 07:26:22 +0000 (08:26 +0100)
commit1e7dd4a0348c5985df1a3e9765fc49da19663527
treee87f409ff6c27dd0062083d54b9b3d144cb4a2ef
parente4d85860c26f210ca1a8ea1a0da767d77dbd95ac
x86: actually implement .noopt

For quite some time we've had support for -O command line options. With
that ignoring at least .noopt isn't really a good idea.

Re-purpose the optimize-3 test for testing this directive's effect as
well.

As to the doc addition - this uses the same text as is there for the
{nooptimize} pseudo-prefix, despite me not being convinced of the "size"
part being fully accurate there (and hence also here).
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/noopt.d [new file with mode: 0644]
gas/testsuite/gas/i386/noopt.s [new file with mode: 0644]
gas/testsuite/gas/i386/optimize-3.d
gas/testsuite/gas/i386/optimize-3.s