From d7378b2e8443231b97f2ca7e3c7eb0397185a1c4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 24 Sep 2009 18:29:06 +0000 Subject: 2009-09-24 Joel Sherrill * libmisc/shell/hexdump-odsyntax.c: Fix failure on SH2e where there is only single precision float. --- cpukit/ChangeLog | 5 +++++ cpukit/libmisc/shell/hexdump-odsyntax.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f1950cf336..6e4e85e040 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-09-24 Joel Sherrill + + * libmisc/shell/hexdump-odsyntax.c: Fix failure on SH2e where there is + only single precision float. + 2009-09-24 Joel Sherrill * libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy 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; -- cgit v1.2.3