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.
6 files changed
tree: b2c5f530dea6b2468d4e4c7d615a8acaac1722f9
  1. jemalloc/
  2. .hgignore