This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed v2] MIPS/GAS: Correct the AFL_ASE_MASK macro
- From: "Maciej W. Rozycki" <macro at linux-mips dot org>
- To: Paul Hua <paul dot hua dot gm at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 27 Jul 2018 01:14:04 +0100 (BST)
- Subject: [committed v2] MIPS/GAS: Correct the AFL_ASE_MASK macro
- References: <CAKjxQH=4k+WNwPmR3oPUwDS2pbBzsaQJ6_sqzC2hujdtakpRRQ@mail.gmail.com>
From: Chenghua Xu <paul.hua.gm@gmail.com>
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 <paul.hua.gm@gmail.com>
Maciej W. Rozycki <macro@linux-mips.org>
include/
* elf/mips.h (AFL_ASE_MASK): Correct typo.
---
Hi Paul,
Thanks for catching this, I should have. But the mask has to be
0x0006ffff, to keep AFL_ASE_RESERVED1 excluded. Here's what I committed.
Maciej
---
include/elf/mips.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/elf/mips.h b/include/elf/mips.h
index 2d73212..4ef51b5 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. */
--
1.7.2.5