]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
opcodes: x86: new marker for insns that implicitly update stack pointer
authorIndu Bhagat <indu.bhagat@oracle.com>
Mon, 15 Jan 2024 09:00:27 +0000 (01:00 -0800)
committerIndu Bhagat <indu.bhagat@oracle.com>
Mon, 15 Jan 2024 11:31:35 +0000 (03:31 -0800)
commit448cf9e67d3fe9edbef70d4cfcc32d1816603370
tree1bc1254a63c673b3d45364a551fe11ba6a7c343a
parent3037cefe56affe48ac53d85b9e33c2c3a408c41f
opcodes: x86: new marker for insns that implicitly update stack pointer

Some x86 instructions affect the stack pointer implicitly.  Add a new
operand constraint to reflect this.  This will be useful for SCFI
implmentation to ensure its correctness.

Mark all push, pop, call, ret, enter, leave, INT, iret instructions.

opcodes/
* i386-gen.c: Update opcode_modifiers.
* i386-opc.h: Add a new constraint.
* i386-opc.tbl: Update the affected instructions.
* i386-tbl.h: Regenerated.
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h