* include/private/gcconfig.h (end, InitStackBottom): Declare
extern variable for RTEMS.
* include/private/gcconfig.h (DATASTART, DATAEND, STACKBOTTOM):
Update (for RTEMS).
* include/private/gcconfig.h (DATAEND): Fix a typo in the macro
name (for RTEMS).
* tests/test.c (CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER):
Replace with CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER (for RTEMS).
+2011-05-19 Ivan Maidanski <ivmai@mail.ru> (really Jie Liu)
+
+ * include/private/gcconfig.h (end, InitStackBottom): Declare
+ extern variable for RTEMS.
+ * include/private/gcconfig.h (DATASTART, DATAEND, STACKBOTTOM):
+ Update (for RTEMS).
+ * include/private/gcconfig.h (DATAEND): Fix a typo in the macro
+ name (for RTEMS).
+ * tests/test.c (CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER):
+ Replace with CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER (for RTEMS).
+
2011-05-18 Ivan Maidanski <ivmai@mail.ru>
* include/private/gcconfig.h (MPROTECT_VDB): Enable for Solaris in
# define OS_TYPE "RTEMS"
# include <sys/unistd.h>
extern int etext[];
-# define DATASTART ((ptr_t)((((word) (etext)) + 0xfffff) & ~0xfffff))
-# define DATAENT ((ptr_t)(DATASTART + 0xfffff))
-# define STACKBOTTOM ((ptr_t) 0x03fff000)
+ extern int end[];
+ extern void *InitStackBottom;
+# define DATASTART ((ptr_t)etext)
+# define DATAEND ((ptr_t)end)
+# define STACKBOTTOM ((ptr_t)InitStackBottom)
# endif
# ifdef DOS4GW
# define OS_TYPE "DOS4GW"
WINMAIN_LPTSTR cmd, int n)
#elif defined(RTEMS)
# include <bsp.h>
-# define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+# define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
# define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
# define CONFIGURE_RTEMS_INIT_TASKS_TABLE
# define CONFIGURE_MAXIMUM_TASKS 1