diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/elf/mips.h | 3 | ||||
-rw-r--r-- | include/opcode/mips.h | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index b45a328..baeb718 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,11 @@ 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com> + * elf/mips.h (AFL_ASE_LOONGSON_EXT2): New macro. + (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_EXT2. + * opcode/mips.h (ASE_LOONGSON_EXT2): New macro. + +2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com> + * elf/mips.h (AFL_ASE_LOONGSON_EXT): New macro. (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_EXT. * opcode/mips.h (ASE_LOONGSON_EXT): New macro. diff --git a/include/elf/mips.h b/include/elf/mips.h index cd76139..983275a 100644 --- a/include/elf/mips.h +++ b/include/elf/mips.h @@ -1241,7 +1241,8 @@ extern void bfd_mips_elf_swap_abiflags_v0_out #define AFL_ASE_LOONGSON_MMI 0x00040000 /* Loongson MMI ASE. */ #define AFL_ASE_LOONGSON_CAM 0x00080000 /* Loongson CAM ASE. */ #define AFL_ASE_LOONGSON_EXT 0x00100000 /* Loongson EXT instructions. */ -#define AFL_ASE_MASK 0x001effff /* All ASEs. */ +#define AFL_ASE_LOONGSON_EXT2 0x00200000 /* Loongson EXT2 instructions. */ +#define AFL_ASE_MASK 0x003effff /* All ASEs. */ /* Values for the isa_ext word of an ABI flags structure. */ diff --git a/include/opcode/mips.h b/include/opcode/mips.h index 4d60cbc..28fa1d7 100644 --- a/include/opcode/mips.h +++ b/include/opcode/mips.h @@ -1308,6 +1308,8 @@ static const unsigned int mips_isa_table[] = { #define ASE_LOONGSON_CAM 0x00400000 /* Loongson EXTensions (EXT) instructions. */ #define ASE_LOONGSON_EXT 0x00800000 +/* Loongson EXTensions R2 (EXT2) instructions. */ +#define ASE_LOONGSON_EXT2 0x01000000 /* MIPS ISA defines, use instead of hardcoding ISA level. */ |