[RTEMS Project] #4438: powerpc/shared/irq/ppc-irq-legacy.c: Use rtems_malloc() not malloc()

RTEMS trac trac at rtems.org
Fri May 21 21:24:57 UTC 2021


#4438: powerpc/shared/irq/ppc-irq-legacy.c: Use rtems_malloc() not malloc()
----------------------------+--------------------
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  6.1
 Component:  bsps           |    Version:  6
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+--------------------
 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.

--
Ticket URL: <http://devel.rtems.org/ticket/4438>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list