Landing: 271186ef4643
Project / Subsystem
gcc / gcc/config/microblaze
Date
2026-09-04
Author
Joel Sherrill
Commit
271186ef46437bb60e9143d8519a3ed71c54481c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/config/microblaze
- patch_id
- —
- commit_hash
- 271186ef46437bb60e9143d8519a3ed71c54481c
- source_type
- github
- headline
- microblaze/rtems.h: Define __USE_INIT_FINI__ for RTEMS
- tldr
- RTEMS requires __USE_INIT_FINI__ to be defined on MicroBlaze for correct global constructor execution.
- author
- Joel Sherrill
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • rtems
- • microblaze
- • build system
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-04T00:00:00.000Z
The header file gcc/config/microblaze/rtems.h has been updated to define the __USE_INIT_FINI__ macro. This macro is necessary for the RTEMS operating system to select the appropriate procedure for executing global constructors when compiling for the MicroBlaze architecture. Without this definition, the correct mechanism for initializing global variables might not be invoked.