diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2024-01-15 06:57:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2024-01-15 06:57:08 +0000 |
commit | dcb7ddde72f750fc2646b8f246850f8793ed713d (patch) | |
tree | 0c06c7bb710afa507036760c6f87bf309a28f7a7 /gnu/usr.bin | |
parent | f15d9354da2a7509701900cbb76597b23f2af8ae (diff) |
From "Lorenz (xha)" (me(at)xha.li): teach binutils how to assemble
endbr{64,32}
"sure" dv@ deraadt@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/include/opcode/i386.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/include/opcode/i386.h b/gnu/usr.bin/binutils-2.17/include/opcode/i386.h index 7b315144c1e..a8d4a43d24a 100644 --- a/gnu/usr.bin/binutils-2.17/include/opcode/i386.h +++ b/gnu/usr.bin/binutils-2.17/include/opcode/i386.h @@ -1534,6 +1534,10 @@ static const template i386_optab[] = {"invpcid", 2, 0x660f3882, X, CpuNEW|CpuNo64, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_sSuf|No_qSuf|No_xSuf|NoRex64, { BaseIndex|Disp8|Disp16|Disp32|Disp32S, Reg32 } }, {"invpcid", 2, 0x660f3882, X, CpuNEW|Cpu64, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_sSuf|No_qSuf|No_xSuf|NoRex64, { BaseIndex|Disp8|Disp16|Disp32|Disp32S, Reg64 } }, +/* Intel Indirect Branch Tracking extensions */ +{"endbr64", 0, 0xF30F1E, 0xFA, Cpu64, NoSuf|ImmExt, { 0, 0, 0 } }, +{"endbr32", 0, 0xF30F1E, 0xFB, CpuNo64, NoSuf|ImmExt, { 0, 0, 0 } }, + /* sentinel */ {NULL, 0, 0, 0, 0, 0, { 0, 0, 0} } }; |