]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: Warn .insn instruction with length > 15 bytes
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 5 Feb 2024 19:58:08 +0000 (11:58 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 6 Feb 2024 11:32:17 +0000 (03:32 -0800)
commit0afc614c9938fbf5eda10a26c77d574c3c2f945a
tree890e0f90dc06442a381769bb5e9821057cff9542
parentbe908bd6e7fdcf0b91b949b152a063b5791856b5
x86: Warn .insn instruction with length > 15 bytes

Change .insn instruction with length > 15 bytes from error to warning.

PR gas/31323
* config/tc-i386.c (output_insn): Issue a warning when .insn
instruction length exceeds the limit of 15 bytes.
* testsuite/gas/i386/oversized64.s: Add a test for .insn
* testsuite/gas/i386/oversized64.l: Updated.
gas/config/tc-i386.c
gas/testsuite/gas/i386/oversized64.l
gas/testsuite/gas/i386/oversized64.s