opnsense-src/lib/libc/stdlib/malloc/Symbol.map
Brooks Davis 5680cf6dc6 jemalloc: don't expose 3.0 compat symbols
Don't provide default linkage for jemalloc 3.0 compatability symbols.
We stopped declaring these interfaces with the introduction of jemalloc
4.0 prior to FreeBSD 11.0.  Any code using them would have had to
declare them manually so stop declaring them and export the symbols
directly for compatability.  Arguably they should be x86 only as they
were never declared on other Tier-1 architectures.

Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D46407
2024-08-22 17:08:24 +01:00

55 lines
704 B
Text

FBSD_1.0 {
_malloc_options;
_malloc_message;
malloc;
posix_memalign;
calloc;
realloc;
free;
malloc_usable_size;
};
FBSD_1.3 {
malloc_conf;
malloc_message;
aligned_alloc;
malloc_stats_print;
mallctl;
mallctlnametomib;
mallctlbymib;
mallocx;
rallocx;
xallocx;
sallocx;
dallocx;
nallocx;
__malloc;
__calloc;
__realloc;
__free;
__posix_memalign;
__malloc_usable_size;
__mallocx;
__rallocx;
__xallocx;
__sallocx;
__dallocx;
__nallocx;
};
FBSD_1.4 {
sdallocx;
__sdallocx;
__aligned_alloc;
__malloc_stats_print;
__mallctl;
__mallctlnametomib;
__mallctlbymib;
};
FBSDprivate_1.0 {
_malloc_thread_cleanup;
_malloc_prefork;
_malloc_postfork;
_malloc_first_thread;
};