summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libmisc/shell/hexdump-odsyntax.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index f1950cf336..6e4e85e040 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * libmisc/shell/hexdump-odsyntax.c: Fix failure on SH2e where there is
+ only single precision float.
+
+2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy
of getpagesize() and make it return an int.
* posix/src/getpagesize.c: Removed.
diff --git a/cpukit/libmisc/shell/hexdump-odsyntax.c b/cpukit/libmisc/shell/hexdump-odsyntax.c
index 30d5b7f345..65ca5f261e 100644
--- a/cpukit/libmisc/shell/hexdump-odsyntax.c
+++ b/cpukit/libmisc/shell/hexdump-odsyntax.c
@@ -353,7 +353,7 @@ odformatfp(rtems_shell_hexdump_globals* globals, char fchar __unused, const char
case sizeof(float):
digits = FLT_DIG;
break;
-#if !defined(__AVR__) && !defined(__h8300__)
+#if !defined(__AVR__) && !defined(__h8300__) && !defined(__SH2E__)
case sizeof(double):
digits = DBL_DIG;
break;