Red Hat Bugzilla – Bug 53477
Make zlib not dependent on malloc
Last modified: 2007-04-18 12:36:59 EDT
Description of Problem:
Currently, the zlib package requires malloc for general purpose memory.
This makes it very hard to keep RedBoot's fixed memory requirements
fixed and small. The impact is that in order to keep the ability to
load user programs at a known, fixed address, is often difficult since
RedBoot's own memory requirements creep into that space.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
If we could make zlib work with a provided set of memory, then RedBoot
could allocate this from the end of memory, as it does for FLASH workspace.
Of course, the zlib package should also be configurable so that it works
as it currently does for "normal" programs.
The dependency is now conditional. Applications can define their
own memory allocators by defining the CDL interface
This process is now used by RedBoot so it can have it's own specialized