diff --git a/ChangeLog b/ChangeLog
index 43d4550..ef24d6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-23  Nick Clifton  <nickc@redhat.com>
+	    Ben Elliston  <bje@gnu.org>
+
+	* config.sub: Add support for RX.
+	* testsuite/config-sub.data: Add two test cases for RX.
+
 2009-09-18  Jack Howarth  <howarth@bromo.med.uc.edu>
 
 	* config.guess (*:Darwin:*:*): Handle 64-bit compilers on i386.
diff --git a/config.sub b/config.sub
index 8ca084b..b26b47a 100755
--- a/config.sub
+++ b/config.sub
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 #   Free Software Foundation, Inc.
 
-timestamp='2009-08-19'
+timestamp='2009-09-23'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -287,6 +287,7 @@ case $basic_machine in
 	| pdp10 | pdp11 | pj | pjl \
 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 	| pyramid \
+	| rx \
 	| score \
 	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 	| sh64 | sh64le \
@@ -371,7 +372,7 @@ case $basic_machine in
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 	| pyramid-* \
-	| romp-* | rs6000-* \
+	| romp-* | rs6000-* | rx-* \
 	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index e2873ce..e6d298a 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -154,3 +154,5 @@ powerpc-cnk			powerpc-ibm-cnk
 powerpc-bluegene		powerpc-ibm-cnk
 microblaze			microblaze-unknown-none
 microblaze-linux		microblaze-unknown-linux-gnu
+rx				rx-unknown-none
+rx-linux			rx-unknown-linux-gnu