]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: no md_cons_align() for .nop{,s}
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Dec 2023 07:28:20 +0000 (08:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Dec 2023 07:28:20 +0000 (08:28 +0100)
commit54fc4573887bfba8bd2ac0cb2eb9259e94ba178d
treeec32ca471baf49b05a681ab8f37f6de95a39e69e
parent175ce60f0ff7f3423b49c0d41a88a0c51a08ac03
gas: no md_cons_align() for .nop{,s}

.nop and .nops generate code, not data. Hence them invoking
md_cons_align() is at best inappropriate. In fact it actually gets in
the of x86'es state maintenance involving i386_cons_align().
gas/read.c
gas/testsuite/gas/i386/align-branch-6.e
gas/testsuite/gas/i386/lfence-byte.d
gas/testsuite/gas/i386/lfence-byte.s