Notice: We have migrated to GitLab launching 2024-05-01 see here:

#4481 assigned defect

Define and use proper _init and _fini symbols for MicroBlaze

Reported by: Alex White Owned by: Joel Sherrill
Priority: normal Milestone: 7.1
Component: tool/gcc Version:
Severity: normal Keywords:
Cc: Blocked By:


GCC currently defines __init and __fini (double underscore) symbols rather than the usual _init and _fini (single underscore) for MicroBlaze?. The rtems.h header for MicroBlaze? also lacks the __USE_INIT_FINI__ define.

This should be changed to match other architectures.

Attachments (2)

Change History (4)

comment:1 Changed on 11/29/22 at 23:43:58 by Chris Johns

Owner: set to Joel Sherrill
Status: newassigned

Status update?

comment:2 Changed on 12/01/22 at 16:42:40 by Joel Sherrill

Milestone: 6.17.1
Version: 6

Move milestone to 7.1 since Xilinx GCC patches are not upstream yet. Hopefully by 7, we can have a fix in the FSF GCC sources.

Note: See TracTickets for help on using tickets.