[uClibc]Re: Addition of 'valloc' function to uClibc...
Tobias Anderberg
tobias.anderberg at axis.com
Wed Sep 4 07:46:04 UTC 2002
Miles Bader wrote:
> The old `valloc.c' file in malloc-930716's Attic can be used for the
> generic version. It contains a huge hairy mess of ifdefs to get the
> pagesize; perhaps that's unnecessary for uClibc and could be removed.
Just make sure that there is no assumption about the actual pagesize,
i.e. 4k. Since not all arch's use 4k pages it's probably a good idea
to keep the code, misalignements and stuff like that often cause
wicked errors which is hard to find.
I'm actually styggling with a subtle alignemnt bug in the dynamic
linker (readelflib1.c). Or so it seems...
--
tobias
More information about the uClibc
mailing list