diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-30 08:16:53 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-30 08:16:53 +0000 |
commit | edc4bbd4c127af57ccec024f12e9fc6c91be573c (patch) | |
tree | 408b7987610136fa952384e826b19c341d610792 /cpukit | |
parent | 2007-07-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-edc4bbd4c127af57ccec024f12e9fc6c91be573c.tar.bz2 |
changes
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/shttpd/log.c | 10 |
2 files changed, 9 insertions, 6 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 6a86a59c1c..ded97273e7 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2007-07-30 Ralf Corsépius <ralf.corsepius@rtems.org> + * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and + coldfire. + +2007-07-30 Ralf Corsépius <ralf.corsepius@rtems.org> + * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to work-around bug m68k/coldfire -fomit-frame-pointer bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307. diff --git a/cpukit/shttpd/log.c b/cpukit/shttpd/log.c index 133d8e4d2c..1c11404484 100644 --- a/cpukit/shttpd/log.c +++ b/cpukit/shttpd/log.c @@ -61,19 +61,17 @@ elog(int flags, struct conn *c, const char *fmt, ...) exit(EXIT_FAILURE); } -/* HACK: m68k-gcc <= 4.2.1 ICEs on the snprintf below for some +/* + * HACK: m68k-gcc <= 4.2.1 ICEs on the snprintf below for some * coldfire variants for yet unknown reasons. + * C.f.: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307 */ #if defined(__GNUC__) && \ ( (__GNUC__ < 4 ) || \ ( (__GNUC__ == 4 ) && (__GNUC_MINOR__ < 2 ) ) || \ ( (__GNUC__ == 4 ) && (__GNUC_MINOR__ == 2 ) && (__GNUC_PATCHLEVEL__ <= 1 ) ) ) -#if defined(__mcf528x__) -//# define SPLIT_SNPRINTF 1 -#endif /* __mcf528x__ */ -#if defined(__mcf5200__) -#endif /* __mcf5200__ */ #if defined(__mcoldfire__) +#define SPLIT_SNPRINTF 1 #endif /* __mcoldfire__ */ #endif /* __GNUC__ */ |