#280 closed defect (fixed)

libc Initialize

Reported by: dedekind Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: bsps Version: unknown
Severity: major Keywords:
Cc: bugs@… Blocked By:


Incorrect second parameter pass to bsp_libc_init and size of heap will be less by 4 then defined in linkcmds via 'HeapStart?' and 'HeapEnd?' variables.

rtems-ss-20020628 and all other that have gensh4 bsp


Just try to 'malloc' very big pice of heap.

Change History (1)

comment:1 Changed on 09/14/02 at 18:00:53 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Given the potential for this to be in other BSPs, I wanted

to take the time to review all BSPs. All other BSPs appeared
to do this correctly. They either did the math on
unsigned32's, void *, or char *. I did modify the
other SH BSPs because they were doing the math on
integer pointers and multiplying by the size of
an unsigned32. Since this was inconsistent with
other BSPs (although 100% correct) I changed it.

Thanks for spotting and reporting this.

Note: See TracTickets for help on using tickets.