]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-i386.c
x86: last-insn recording should be per-section
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Dec 2023 07:27:22 +0000 (08:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Dec 2023 07:27:22 +0000 (08:27 +0100)
commitb5482fe535884c9fdb5c45c5627ec99e54c0e9d9
tree21441430a13f354e196c5fc3bc6d44e4ab8adbf0
parent1f865bae65db9588f6994c02a92355bfb4e3d955
x86: last-insn recording should be per-section

Otherwise intermediate section switches result in inconsistent behavior.
Note, however, that intermediate sub-section switches will continue to
result in inconsistent or even inappropriate behavior.

While there also add recording of state to s_insn().
gas/config/tc-i386.c
gas/config/tc-i386.h
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/lfence-section.d [new file with mode: 0644]
gas/testsuite/gas/i386/lfence-section.e [new file with mode: 0644]
gas/testsuite/gas/i386/lfence-section.s [new file with mode: 0644]