#1335 closed defect (fixed)

introduction of sbrk helpers broke sbrk implementation by ppc/shared BSPs

Reported by: strauman Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: bsps Version: 4.9
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

With 4.9 there was a slight change in the initialization of the
heap: Prior to 4.9, if the heap starting address was NULL then
an 'sbrk(heap_size)' was attempted. With 4.9 this initial
sbrk is 'sbrk(sbrk_amount)' which doesn't work if the initial
heap size != sbrk_amount [this is so in the case of the ppc/shared BSP's
implementation of sbrk()].

Change History (2)

comment:1 Changed on Nov 3, 2008 at 7:30:56 PM by strauman

Resolution: fixed
Status: newclosed

comment:2 Changed on Nov 10, 2009 at 1:43:00 PM by strauman

fixed on all relevant branches

Note: See TracTickets for help on using tickets.