https://gcc.gnu.org/g:271186ef46437bb60e9143d8519a3ed71c54481c

commit r17-3998-g271186ef46437bb60e9143d8519a3ed71c54481c
Author: Joel Sherrill <[email protected]>
Date:   Fri Sep 4 13:19:10 2026 -0500

    gcc/config/microblaze/rtems.h: Define __USE_INIT_FINI__
    
    gcc/
            * config/microblaze/rtems.h: RTEMS needs this defined to
            select the proper procedure for executing the
            global constructors.

Diff:
---
 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 ec801bde4bdd..f98d316519ce 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)

Reply via email to