xref: /illumos-gate/usr/src/lib/libumem/common/mapfile-vers (revision 6523a3aa7f325d64841382707603be7a86e68147)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright (c) 2019, Joyent, Inc.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
34# You should not be making modifications here until you've read the most current
35# copy of that file. If you need help, contact a gatekeeper for guidance.
36#
37# MAPFILE HEADER END
38#
39
40$mapfile_version 2
41
42$if _x86
43LOAD_SEGMENT umem {
44	FLAGS = READ EXECUTE;
45	ASSIGN_SECTION {
46		IS_NAME = .text;
47		FILE_BASENAME = asm_subr.o
48	};
49};
50$endif
51
52SYMBOL_VERSION ILLUMOS_0.1 {
53    global:
54	umem_setmtbf;
55} SUNW_1.1;
56
57SYMBOL_VERSION SUNW_1.1 {
58    global:
59	calloc			{ FLAGS = NODIRECT };
60	free			{ FLAGS = NODIRECT };
61	malloc			{ FLAGS = NODIRECT };
62	memalign		{ FLAGS = NODIRECT };
63	realloc			{ FLAGS = NODIRECT };
64	umem_alloc;
65	umem_cache_alloc;
66	umem_cache_create;
67	umem_cache_destroy;
68	umem_cache_free;
69	umem_free;
70	umem_nofail_callback;
71	umem_zalloc;
72	valloc			{ FLAGS = NODIRECT };
73};
74
75SYMBOL_VERSION SUNWprivate_1.1 {
76    global:
77	umem_alloc_align;
78	umem_free_align;
79	umem_reap;
80	vmem_add;
81	vmem_alloc;
82	vmem_contains;
83	vmem_create;
84	vmem_destroy;
85	vmem_free;
86	vmem_heap_arena;
87	vmem_size;
88	vmem_walk;
89	vmem_xalloc;
90	vmem_xfree;
91    local:
92	*;
93};
94