diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2018-12-25 20:44:15 +0900 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2019-01-05 22:49:46 +0900 |
commit | 59581069b4d070ab0ac61047177ee119110d678e (patch) | |
tree | b3f11a584caa2a4b2a14ddcca94ead2bdac32d94 /include/elf | |
parent | 2eab46b176fa315ebc07569280f020c3348c2aa2 (diff) | |
download | gdb-59581069b4d070ab0ac61047177ee119110d678e.zip gdb-59581069b4d070ab0ac61047177ee119110d678e.tar.gz gdb-59581069b4d070ab0ac61047177ee119110d678e.tar.bz2 |
RX: include - Add RXv3 support.
* elf/rx.h (EF_RX_CPU_MASK): Update new bits.
(E_FLAG_RX_V3): New RXv3 type.
* opcode/rx.h (RX_Size): Add double size.
(RX_Operand_Type): Add double FPU registers.
(RX_Opcode_ID): Add new instuctions.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/rx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/elf/rx.h b/include/elf/rx.h index 4248823..82b1817 100644 --- a/include/elf/rx.h +++ b/include/elf/rx.h @@ -111,7 +111,7 @@ START_RELOC_NUMBERS (elf_rx_reloc_type) END_RELOC_NUMBERS (R_RX_max) #define EF_RX_CPU_RX 0x00000079 /* FIXME: this collides with the E_FLAG_RX_... values below. */ -#define EF_RX_CPU_MASK 0x0000007F /* specific cpu bits. */ +#define EF_RX_CPU_MASK 0x000003FF /* specific cpu bits. */ #define EF_RX_ALL_FLAGS (EF_RX_CPU_MASK) /* Values for the e_flags field in the ELF header. */ @@ -124,6 +124,7 @@ END_RELOC_NUMBERS (R_RX_max) #define E_FLAG_RX_SINSNS_NO 0 /* Bit-5 if this binary must not be linked with a string instruction using binary. */ #define E_FLAG_RX_SINSNS_MASK (3 << 6) /* Mask of bits used to determine string instruction use. */ #define E_FLAG_RX_V2 (1 << 8) /* RX v2 instructions */ +#define E_FLAG_RX_V3 (1 << 9) /* RX v3 instructions */ /* These define the addend field of R_RX_RH_RELAX relocations. */ #define RX_RELAXA_IMM6 0x00000010 /* Imm8/16/24/32 at bit offset 6. */ |