This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] MIPS/include: opcode/mips.h: Update stale comment for CODE20 operand
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 25 Apr 2019 00:38:16 -0000
- Subject: [binutils-gdb] MIPS/include: opcode/mips.h: Update stale comment for CODE20 operand
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cd0923370be1a6412e9b8fb5c8e9e39d90f1d3ea
commit cd0923370be1a6412e9b8fb5c8e9e39d90f1d3ea
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date: Thu Apr 25 01:28:49 2019 +0100
MIPS/include: opcode/mips.h: Update stale comment for CODE20 operand
Complement commit 1586d91e32ea ("/ 0 should send SIGFPE not SIGTRAP..."),
<https://sourceware.org/ml/binutils/2004-07/msg00260.html>, 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.
Diff:
---
include/ChangeLog | 4 ++++
include/opcode/mips.h | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/ChangeLog b/include/ChangeLog
index 038a070..01bb920 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2019-04-25 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * opcode/mips.h: Update comment for MIPS32 CODE20 operand.
+
2019-04-15 Sudakshina Das <sudi.das@arm.com>
* 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 abd52c8..4309e1a 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.