diff options
author | David Faust <david.faust@oracle.com> | 2020-04-16 09:52:57 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2020-04-16 09:52:57 +0200 |
commit | c54a9b56696e584c2b8c7146caac337c063f5516 (patch) | |
tree | 33205ceeca676265c2b2d4f5c049ec762d29fadd /opcodes/bpf-desc.h | |
parent | d191d716f38b41720c4955823fe6c178cf0786f0 (diff) | |
download | gdb-c54a9b56696e584c2b8c7146caac337c063f5516.zip gdb-c54a9b56696e584c2b8c7146caac337c063f5516.tar.gz gdb-c54a9b56696e584c2b8c7146caac337c063f5516.tar.bz2 |
cpu,gas,opcodes: support for eBPF JMP32 instruction class
Add support for the JMP32 class of eBPF instructions.
cpu/ChangeLog
* bpf.cpu (define-cond-jump-insn): Renamed from djci.
(dcji) New version with support for JMP32
gas/ChangeLog
* testsuite/gas/bpf/bpf.exp: Run jump32 tests.
* testsuite/gas/bpf/jump32.s: New file.
* testsuite/gas/bpf/jump32.d: Likewise.
opcodes/ChangeLog
* bpf-desc.c: Regenerate.
* bpf-desc.h: Likewise.
* bpf-opc.c: Regenerate.
* bpf-opc.h: Likewise.
Diffstat (limited to 'opcodes/bpf-desc.h')
-rw-r--r-- | opcodes/bpf-desc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/bpf-desc.h b/opcodes/bpf-desc.h index 28b0852..38cf8c8 100644 --- a/opcodes/bpf-desc.h +++ b/opcodes/bpf-desc.h @@ -80,8 +80,8 @@ typedef enum insn_op_src { /* Enum declaration for eBPF instruction class. */ typedef enum insn_op_class { - OP_CLASS_LD = 0, OP_CLASS_LDX = 1, OP_CLASS_ST = 2, OP_CLASS_STX = 3 - , OP_CLASS_ALU = 4, OP_CLASS_JMP = 5, OP_CLASS_ALU64 = 7 + OP_CLASS_LD, OP_CLASS_LDX, OP_CLASS_ST, OP_CLASS_STX + , OP_CLASS_ALU, OP_CLASS_JMP, OP_CLASS_JMP32, OP_CLASS_ALU64 } INSN_OP_CLASS; /* Enum declaration for eBPF load/store instruction modes. */ |