RX gas: fix DECNT register name

Message ID d7496171-0338-cb4d-f697-b228526a0a82@cyberthorstudios.com
State New
Headers show
Series
  • RX gas: fix DECNT register name
Related show

Commit Message

Darius Galis Aug. 10, 2021, 6 p.m.
Hello,

The following patch is fixing the DECNT typo found in
binutils-gdb sources.
According to the RXv3 documentation,
the Double-precision floating-point exception handling control
register name is DECNT not DCENT.

Please let me know if this is OK, Thank you!
Darius Galis

Comments

Cooper Qu via Binutils Aug. 11, 2021, 1:03 p.m. | #1
Hi Darius,

+2021-08-10  Darius Galis<darius.galis@cyberthorstudios.com>
+
+    * gas/config/rx-parse.y (DECNT): Fixed typo
+    * gas/testsuite/gas/rx/dpopm.sm (DECNT): Fixed typo
+    * gas/testsuite/gas/rx/dpushm.sm (DECNT): Fixed typo
+    * gas/testsuite/gas/rx/macros.inc (DECNT): Fixed typo

Patch approved and applied.

Cheers
   Nick

Patch

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4fcb5acaf3a..7b5f36add2a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@ 
+2021-08-10  Darius Galis<darius.galis@cyberthorstudios.com>
+
+	* gas/config/rx-parse.y (DECNT): Fixed typo
+	* gas/testsuite/gas/rx/dpopm.sm (DECNT): Fixed typo
+	* gas/testsuite/gas/rx/dpushm.sm (DECNT): Fixed typo
+	* gas/testsuite/gas/rx/macros.inc (DECNT): Fixed typo
+
  2021-08-09  Nick Clifton<nickc@redhat.com>
  
  	* dwarf2dbg.c (get_directory_table_entry): Ensure that dir[0]
diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y
index dfb04843a50..388e5ee039a 100644
--- a/gas/config/rx-parse.y
+++ b/gas/config/rx-parse.y
@@ -1316,7 +1316,7 @@  token_table[] =
  
    { "DPSW", DCREG, 0 },
    { "DCMR", DCREG, 1 },
-  { "DCENT", DCREG, 2 },
+  { "DECNT", DCREG, 2 },
    { "DEPC", DCREG, 3 },
    { "DCR0", DCREG, 0 },
    { "DCR1", DCREG, 1 },
diff --git a/gas/testsuite/gas/rx/dpopm.sm b/gas/testsuite/gas/rx/dpopm.sm
index 6c779bd04f6..019c3087689 100644
--- a/gas/testsuite/gas/rx/dpopm.sm
+++ b/gas/testsuite/gas/rx/dpopm.sm
@@ -1,2 +1,2 @@ 
  	dpopm.d	{dregPlo}-{dregPhi}
-	dpopm.l	{dpsw;dcmr}-{depc;dcent}
+	dpopm.l	{dpsw;dcmr}-{depc;decnt}
diff --git a/gas/testsuite/gas/rx/dpushm.sm b/gas/testsuite/gas/rx/dpushm.sm
index a6093c41be3..41343354188 100644
--- a/gas/testsuite/gas/rx/dpushm.sm
+++ b/gas/testsuite/gas/rx/dpushm.sm
@@ -1,2 +1,2 @@ 
  	dpushm.d	{dregPlo}-{dregPhi}
-	dpushm.l	{dpsw;dcmr}-{depc;dcent}
+	dpushm.l	{dpsw;dcmr}-{depc;decnt}
diff --git a/gas/testsuite/gas/rx/macros.inc b/gas/testsuite/gas/rx/macros.inc
index 7fc4c42f585..329850fbb00 100644
--- a/gas/testsuite/gas/rx/macros.inc
+++ b/gas/testsuite/gas/rx/macros.inc
@@ -9,7 +9,7 @@  macro	pswf	{U;I;O;S;Z;C}
  macro	dreg	{dr0;dr15}
  macro	dregh	{drh0;drh15}
  macro	dregl	{drl0;drl15}
-macro	dcreg	{dpsw;dcmr;dcent;depc}
+macro	dcreg	{dpsw;dcmr;decnt;depc}
  macro	dregPlo	{dr1;dr7}
  macro	dregPhi	{dr8;dr14}