RTEMS needs this defined to select the proper procedure for
executing the global constructors.
---
gcc/config/microblaze/rtems.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/config/microblaze/rtems.h b/gcc/config/microblaze/rtems.h
index ec801bde4bd..f98d316519c 100644
--- a/gcc/config/microblaze/rtems.h
+++ b/gcc/config/microblaze/rtems.h
@@ -26,6 +26,7 @@
#define TARGET_OS_CPP_BUILTINS() do { \
builtin_define( "__rtems__" ); \
+ builtin_define ("__USE_INIT_FINI__"); \
builtin_assert( "system=rtems" ); \
} while (0)
--
2.52.0