#4438 closed defect (fixed)

powerpc/shared/irq/ppc-irq-legacy.c: Use rtems_malloc() not malloc()

Reported by: Joel Sherrill Owned by: Joel Sherrill <joel@…>
Priority: normal Milestone: 6.1
Component: bsps Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

malloc() is required to set errno which implicitly references the newlib reentrancy structure. Changing this eliminates one reason the reentrancy code may be pulled into minimum.exe.

Change History (1)

comment:1 Changed on 05/25/21 at 13:33:50 by Joel Sherrill <joel@…>

Owner: set to Joel Sherrill <joel@…>
Resolution: fixed
Status: newclosed

In f9d59075/rtems:

ppc-irq-legacy.c: Use rtems_malloc() instead of malloc().

Closes #4438.

Note: See TracTickets for help on using tickets.