mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-21 08:28:27 +08:00
changes
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
+4
-6
@@ -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__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user