From cd0923370be1a6412e9b8fb5c8e9e39d90f1d3ea Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Thu, 25 Apr 2019 01:28:49 +0100 Subject: [PATCH] MIPS/include: opcode/mips.h: Update stale comment for CODE20 operand Complement commit 1586d91e32ea ("/ 0 should send SIGFPE not SIGTRAP..."), , and update a stale comment referring the 20-bit code field of the BREAK and SDBBP instructions, by making it explicit that where permitted by choosing the MIPS32 or a later ISA the whole field can now be set with a single operand for the SDBBP instruction only. include/ * opcode/mips.h: Update comment for MIPS32 CODE20 operand. --- include/ChangeLog | 4 ++++ include/opcode/mips.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index 038a070f285..01bb9207a87 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2019-04-25 Maciej W. Rozycki + + * opcode/mips.h: Update comment for MIPS32 CODE20 operand. + 2019-04-15 Sudakshina Das * elf/arm.h (START_RELOC_NUMBERS): New entry for R_ARM_THM_BF12. diff --git a/include/opcode/mips.h b/include/opcode/mips.h index abd52c89800..4309e1a348f 100644 --- a/include/opcode/mips.h +++ b/include/opcode/mips.h @@ -56,8 +56,8 @@ extern "C" { code field in BREAK is 20 bits; yet MIPS assemblers and debuggers only use ten bits). An optional two-operand form of break/sdbbp allows the lower ten bits to be set too, and MIPS32 and later - architectures allow 20 bits to be set with a signal operand - (using CODE20). + architectures allow 20 bits to be set with a single operand for + the sdbbp instruction (using CODE20). The syscall instruction uses CODE20. -- 2.30.2