Re: new malloc
Enrico Scholz <[email protected]>
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
[email protected] (Nikola Vladov) writes: > May be the main advantage is that one can compile malloc, free, calloc > and realloc in separate files. fwiw, the paradigm to split functions into separate files is a little bit outdated by recent gcc's '-ffunction-sections' + '-fdata-sections' options. > #include <sys/shm.h> /* for PAGE_SIZE */ using PAGE_SIZE macro is highly deprecated as this is not a constant value but must be calculated from ELF aux vector. See http://github.com/ensc/dietlibc/commit/2f762bc732fef1c0e91b7e920c025783d204100e for reference. Enrico