commit | 9ad48230ed38ee606ceb2212ebccd9411cafb29c | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sun Jan 03 11:59:20 2010 -0800 |
committer | Jason Evans <jasone@canonware.com> | Sun Jan 03 11:59:20 2010 -0800 |
tree | b2c5f530dea6b2468d4e4c7d615a8acaac1722f9 | |
parent | bf10ae64a79da39b6ff5a23337ead4ddf393364a [diff] |
Simplify JEMALLOC_ATTR_* macros to become JEMALLOC_ATTR(). Use JEMALLOC_ATTR(tls_model("initial-exec)) instead of -ftls-model=initial-exec so that libjemalloc_pic.a can be directly linked into another library without needing linker options changes. Add attributes to malloc, calloc, and posix_memalign, for compatibility with glibc's declarations. Add function prototypes for the standard malloc(3) API.