summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-24 18:29:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-24 18:29:06 +0000
commitd7378b2e8443231b97f2ca7e3c7eb0397185a1c4 (patch)
tree3df6ae9875da6da4248d72eac86964d8722f98b0
parentb1ca98b9c1df93af313e5544dd7a53e259cf1688 (diff)
downloadrtems-d7378b2e8443231b97f2ca7e3c7eb0397185a1c4.tar.bz2
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.
-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;