]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the malloc(3) family of functions weak and make their non-weak
authormarcel <marcel@FreeBSD.org>
Sat, 25 May 2013 18:59:11 +0000 (18:59 +0000)
committermarcel <marcel@FreeBSD.org>
Sat, 25 May 2013 18:59:11 +0000 (18:59 +0000)
commitff42d21b8e7e6a88887d0177722647288e50d5de
tree86648e7fa642748db2de1b9e749755c1bde26f45
parentbaa7787a1615684fed0bcb39383aab75f401c649
Make the malloc(3) family of functions weak and make their non-weak
implementations visible for use by applications. The functions $F that
are now weak symbols are:
allocm, calloc, dallocm, free, malloc, malloc_usable_size,
nallocm, posix_memalign, rallocm, realloc, sallocm

The non-weak implementations of $F are exported as __$F.

Submitted by: stevek@juniper.net
Reviewed by: jasone@, kib@
Approved by: jasone@ (jemalloc)
Obtained from: juniper Networks, Inc
contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
include/malloc_np.h
lib/libc/stdlib/jemalloc/Symbol.map