From 2bb9bbe2e8faa7fd9ee156da0254605720eb16d6 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 27 Jul 2018 01:12:43 +0100 Subject: [PATCH] MIPS/GAS: Correct the AFL_ASE_MASK macro Fix an issue with commit 8095d2f70e1a ("MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a"), AFL_ASE_MASK should be 0x0006ffff instead of 0x0004ffff. 2018-07-27 Chenghua Xu Maciej W. Rozycki include/ * elf/mips.h (AFL_ASE_MASK): Correct typo. --- include/ChangeLog | 5 +++++ include/elf/mips.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index d39f52e6e95..b56b6ba435d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2018-07-27 Chenghua Xu + Maciej W. Rozycki + + * elf/mips.h (AFL_ASE_MASK): Correct typo. + 2018-07-26 Alex Chadwick * opcode/ppc.h (PPC_OPCODE_750): Adjust comment. diff --git a/include/elf/mips.h b/include/elf/mips.h index 2d73212b27c..4ef51b5e788 100644 --- a/include/elf/mips.h +++ b/include/elf/mips.h @@ -1239,7 +1239,7 @@ extern void bfd_mips_elf_swap_abiflags_v0_out #define AFL_ASE_RESERVED1 0x00010000 /* Reserved by MIPS Tech for WIP. */ #define AFL_ASE_GINV 0x00020000 /* GINV ASE. */ #define AFL_ASE_LOONGSON_MMI 0x00040000 /* Loongson MMI ASE. */ -#define AFL_ASE_MASK 0x0004ffff /* All ASEs. */ +#define AFL_ASE_MASK 0x0006ffff /* All ASEs. */ /* Values for the isa_ext word of an ABI flags structure. */